aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-11-02 17:23:44 +0300
committerGravatar Vitaly Takmazov2016-11-02 17:23:44 +0300
commit38cf47b815f820d9745d7ede6b1f40811b98d52f (patch)
tree23df22f62208cc99f7776413d76c4d107a9eb1de /src/test
parente6e51acf09648ffb94eeecfa74a180e25b784e67 (diff)
parent38071510b3888f5a4edb31705953a0995256d882 (diff)
Merge branch 'master' of ssh://den.jabber.ru:2205/var/lib/git/com.juick.http.www
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/com/juick/tests/ApiTests.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/java/com/juick/tests/ApiTests.java b/src/test/java/com/juick/tests/ApiTests.java
index 03b051f2..02180888 100644
--- a/src/test/java/com/juick/tests/ApiTests.java
+++ b/src/test/java/com/juick/tests/ApiTests.java
@@ -96,7 +96,7 @@ public class ApiTests {
assertNotEquals("db tags should be escaped", dbTagName, htmlTag.getName());
assertEquals("object tags should unescaped", htmlTag.getName(), StringEscapeUtils.unescapeHtml4(dbTagName));
assertEquals("template should encode escaped tag in url and show escaped tag in name",
- " *<a href=\"/tag/%3E_%3C\" rel=\"nofollow\">&gt;_&lt;</a>", PageTemplates.formatTags(new ArrayList<Tag>() {{ add(htmlTag); }} ));
+ "<a href=\"/tag/%3E_%3C\" rel=\"nofollow\">&gt;_&lt;</a>", PageTemplates.formatTags(new ArrayList<Tag>() {{ add(htmlTag); }} ));
}
@Test