jspwiki-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jalka...@apache.org
Subject svn commit: r885986 - /incubator/jspwiki/trunk/tests/java/org/apache/wiki/WikiEngineTest.java
Date Tue, 01 Dec 2009 22:48:20 GMT
Author: jalkanen
Date: Tue Dec  1 22:48:20 2009
New Revision: 885986

URL: http://svn.apache.org/viewvc?rev=885986&view=rev
Log:
Minor test fixes.

Modified:
    incubator/jspwiki/trunk/tests/java/org/apache/wiki/WikiEngineTest.java

Modified: incubator/jspwiki/trunk/tests/java/org/apache/wiki/WikiEngineTest.java
URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/tests/java/org/apache/wiki/WikiEngineTest.java?rev=885986&r1=885985&r2=885986&view=diff
==============================================================================
--- incubator/jspwiki/trunk/tests/java/org/apache/wiki/WikiEngineTest.java (original)
+++ incubator/jspwiki/trunk/tests/java/org/apache/wiki/WikiEngineTest.java Tue Dec  1 22:48:20
2009
@@ -762,7 +762,7 @@
        
         Collection<WikiPath> pages = m_engine.getReferenceManager().getReferredBy(
WikiPath.valueOf("RenameBugTestPage") );
         assertEquals( "wrong # of referrers", 1, pages.size() );
-        assertEquals( "has one", "Main:OldNameTestPage", pages.iterator().next().toString()
);
+        assertEquals( "has one", WikiPath.valueOf("Main:OldNameTestPage"), pages.iterator().next()
);
         
         WikiContext ctx = m_engine.getWikiContextFactory().newViewContext( m_engine.getPage("OldNameTestPage")
);
         



Mime
View raw message