You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@clerezza.apache.org by re...@apache.org on 2011/07/01 07:37:34 UTC

svn commit: r1141812 - /incubator/clerezza/issues/CLEREZZA-510-reto/rdf.scala.utils/src/test/scala/org/apache/clerezza/rdf/scala/utils/EzGraphTest.scala

Author: reto
Date: Fri Jul  1 05:37:33 2011
New Revision: 1141812

URL: http://svn.apache.org/viewvc?rev=1141812&view=rev
Log:
CLEREZZA-510: using ()-brackets to allow different positions of line breaks

Modified:
    incubator/clerezza/issues/CLEREZZA-510-reto/rdf.scala.utils/src/test/scala/org/apache/clerezza/rdf/scala/utils/EzGraphTest.scala

Modified: incubator/clerezza/issues/CLEREZZA-510-reto/rdf.scala.utils/src/test/scala/org/apache/clerezza/rdf/scala/utils/EzGraphTest.scala
URL: http://svn.apache.org/viewvc/incubator/clerezza/issues/CLEREZZA-510-reto/rdf.scala.utils/src/test/scala/org/apache/clerezza/rdf/scala/utils/EzGraphTest.scala?rev=1141812&r1=1141811&r2=1141812&view=diff
==============================================================================
--- incubator/clerezza/issues/CLEREZZA-510-reto/rdf.scala.utils/src/test/scala/org/apache/clerezza/rdf/scala/utils/EzGraphTest.scala (original)
+++ incubator/clerezza/issues/CLEREZZA-510-reto/rdf.scala.utils/src/test/scala/org/apache/clerezza/rdf/scala/utils/EzGraphTest.scala Fri Jul  1 05:37:33 2011
@@ -297,14 +297,15 @@ class EzGraphTest {
 		Assert.assertEquals("the two graphs should be of same size",tinyGraph.size(),ez.size())
 		Assert.assertEquals("Both graphs should contain exactly the same triples",tinyGraph,ez.getGraph)
 		//We can add triples by creating a new anonymous instance
-		new EzGraph(ez) {
+		new EzGraph(ez) {(
 			"http://bblfish.net/#hjs".uri -- FOAF.name --> "William"
-		}
-		Assert.assertEquals("the triple colletion has grown by one",tinyGraph.size()+1,ez.size())
+			-- FOAF.name --> "Bill"
+		)}
+		Assert.assertEquals("the triple colletion has grown by one",tinyGraph.size()+2,ez.size())
 		//or by just importing it
 		import ez._
 		ez.b_("danny") -- FOAF.name --> "George"
-		Assert.assertEquals("the triple colletion has grown by one",tinyGraph.size()+2,ez.size())
+		Assert.assertEquals("the triple colletion has grown by one",tinyGraph.size()+3,ez.size())
 	}
 //
 //