mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-15 21:12:15 +00:00
fixed test failure. \u00E9 should encoded into %C3%A9, not %C3%A9%00
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@26002 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
1c7334d104
commit
951ccc5d8d
1 file changed
+1
-1
@@ -126,7 +126,7 @@ public class UtilTest extends TestCase {
|
||||
"01234567890!@$&*()-_=+',.", "01234567890!@$&*()-_=+',.",
|
||||
" \"#%/:;<>?", "%20%22%23%25%2F%3A%3B%3C%3E%3F",
|
||||
"[\\]^`{|}~", "%5B%5C%5D%5E%60%7B%7C%7D%7E",
|
||||
"d\u00E9velopp\u00E9s", "d%C3%A9%00velopp%C3%A9%00s",
|
||||
"d\u00E9velopp\u00E9s", "d%C3%A9velopp%C3%A9s",
|
||||
};
|
||||
for (int i = 0; i < data.length; i += 2) {
|
||||
assertEquals("test " + i, data[i + 1], Util.rawEncode(data[i]));
|
||||
|
||||
Reference in new issue
Block a user