Author: bblfish
Date: Thu Jun 30 15:01:19 2011
New Revision: 1141561
URL: http://svn.apache.org/viewvc?rev=1141561&view=rev
Log:
CLEREZZA-510: faulty test fix - wrongly gave correct result
Modified:
incubator/clerezza/trunk/parent/rdf.scala.utils/src/test/scala/org/apache/clerezza/rdf/scala/utils/EzGraphTest.scala
Modified:
incubator/clerezza/trunk/parent/rdf.scala.utils/src/test/scala/org/apache/clerezza/rdf/scala/utils/EzGraphTest.scala
URL:
http://svn.apache.org/viewvc/incubator/clerezza/trunk/parent/rdf.scala.utils/src/test/scala/org/apache/clerezza/rdf/scala/utils/EzGraphTest.scala?rev=1141561&r1=1141560&r2=1141561&view=diff
==============================================================================
---
incubator/clerezza/trunk/parent/rdf.scala.utils/src/test/scala/org/apache/clerezza/rdf/scala/utils/EzGraphTest.scala
(original)
+++
incubator/clerezza/trunk/parent/rdf.scala.utils/src/test/scala/org/apache/clerezza/rdf/scala/utils/EzGraphTest.scala
Thu Jun 30 15:01:19 2011
@@ -290,7 +290,7 @@ class EzGraphTest {
Assert.assertEquals("the two graphs should be of same
size",tinyGraph.size(),ez.graph.size())
Assert.assertEquals("Both graphs should contain exactly the
same triples",tinyGraph,new SimpleGraph(ez.graph)) //mutable graphs cannot be
compared for equality
ez.b_("danny") -- FOAF.name --> "George"
- Assert.assertNotSame("Added one more triple, so graphs should
no longer be equal",tinyGraph,ez.graph)
+ Assert.assertNotSame("Added one more triple, so graphs should
no longer be equal",tinyGraph,new SimpleGraph(ez.graph))
}