jspwiki-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From juanpa...@apache.org
Subject svn commit: r1604643 - /jspwiki/trunk/jspwiki-war/src/test/java/org/apache/wiki/plugin/RecentChangesPluginTest.java
Date Sun, 22 Jun 2014 19:11:58 GMT
Author: juanpablo
Date: Sun Jun 22 19:11:58 2014
New Revision: 1604643

URL: http://svn.apache.org/r1604643
Log:
oops, forgot to change test condition on failing assertion

Modified:
    jspwiki/trunk/jspwiki-war/src/test/java/org/apache/wiki/plugin/RecentChangesPluginTest.java

Modified: jspwiki/trunk/jspwiki-war/src/test/java/org/apache/wiki/plugin/RecentChangesPluginTest.java
URL: http://svn.apache.org/viewvc/jspwiki/trunk/jspwiki-war/src/test/java/org/apache/wiki/plugin/RecentChangesPluginTest.java?rev=1604643&r1=1604642&r2=1604643&view=diff
==============================================================================
--- jspwiki/trunk/jspwiki-war/src/test/java/org/apache/wiki/plugin/RecentChangesPluginTest.java
(original)
+++ jspwiki/trunk/jspwiki-war/src/test/java/org/apache/wiki/plugin/RecentChangesPluginTest.java
Sun Jun 22 19:11:58 2014
@@ -124,8 +124,8 @@ public class RecentChangesPluginTest ext
         String res = manager.execute( context,
                                       "{INSERT org.apache.wiki.plugin.RecentChangesPlugin
since='-1'}" );
 
-        assertEquals( "<table class=\"recentchanges\" cellpadding=\"4\"></table>",
res );
-        assertEquals( "<table class=\"recentchanges\" cellpadding=\"4\" />", res );
+        assertTrue( "<table class=\"recentchanges\" cellpadding=\"4\"></table>".equals(
res ) );
+        assertFalse( "<table class=\"recentchanges\" cellpadding=\"4\" />".equals(
res ) );
     }
 
     public static Test suite() {



Mime
View raw message