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:
sogabe committed 2010-01-17 00:25:20 +00:00
1 parent 1c7334d104
commit 951ccc5d8d
1 file changed
+1 -1
+1 -1
View File
@@ -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]));