Update fromRdf-0002 so that the double value has fractions
authorMarkus Lanthaler <mark_lanthaler@gmx.net>
Mon, 01 Apr 2013 23:51:28 +0200
changeset 1521 529ec43026c4
parent 1520 fbe98bb8137a
child 1522 ffb35c9171d0
Update fromRdf-0002 so that the double value has fractions
test-suite/tests/fromRdf-0002-in.nq
test-suite/tests/fromRdf-0002-out.jsonld
--- a/test-suite/tests/fromRdf-0002-in.nq	Mon Apr 01 23:04:51 2013 +0200
+++ b/test-suite/tests/fromRdf-0002-in.nq	Mon Apr 01 23:51:28 2013 +0200
@@ -2,4 +2,4 @@
 <http://example.com/Subj1> <http://example.com/prop> "false"^^<http://www.w3.org/2001/XMLSchema#boolean> .
 <http://example.com/Subj1> <http://example.com/prop> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .
 <http://example.com/Subj1> <http://example.com/prop> "1.1"^^<http://www.w3.org/2001/XMLSchema#decimal> .
-<http://example.com/Subj1> <http://example.com/prop> "1.1E1"^^<http://www.w3.org/2001/XMLSchema#double> .
+<http://example.com/Subj1> <http://example.com/prop> "1.1E-1"^^<http://www.w3.org/2001/XMLSchema#double> .
--- a/test-suite/tests/fromRdf-0002-out.jsonld	Mon Apr 01 23:04:51 2013 +0200
+++ b/test-suite/tests/fromRdf-0002-out.jsonld	Mon Apr 01 23:51:28 2013 +0200
@@ -6,7 +6,7 @@
       { "@value": false },
       { "@value": 1 },
       { "@value": "1.1", "@type": "http://www.w3.org/2001/XMLSchema#decimal"},
-      { "@value": 11 }
+      { "@value": 0.11 }
     ]
   }
 ]