git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
JAL-2422 JAL-3551 unit tests updated for code changes
[jalview.git]
/
test
/
jalview
/
util
/
StringUtilsTest.java
diff --git
a/test/jalview/util/StringUtilsTest.java
b/test/jalview/util/StringUtilsTest.java
index
9cc8d1c
..
37506c0
100644
(file)
--- a/
test/jalview/util/StringUtilsTest.java
+++ b/
test/jalview/util/StringUtilsTest.java
@@
-311,5
+311,9
@@
public class StringUtilsTest
// decode space also; %3E is not decoded to .
assertEquals("a=b%3Ec d=,",
StringUtils.urlDecode("a%3Db%3Ec+d%3D%2C", ";=, "));
+
+ // decode encoded % (%25)
+ assertEquals("a,=;\t%z",
+ StringUtils.urlDecode("a%2C%3D%3B%09%25z", ";=,\t%"));
}
}