Include mixed list in compact-0018 to test fallback
authorMarkus Lanthaler <mark_lanthaler@gmx.net>
Sat, 08 Dec 2012 21:03:19 +0100
changeset 1006 ad2b67d9c653
parent 1005 447afde5fea8
child 1007 51112e97499e
Include mixed list in compact-0018 to test fallback

This addresses #172.
test-suite/tests/compact-0018-in.jsonld
test-suite/tests/compact-0018-out.jsonld
--- a/test-suite/tests/compact-0018-in.jsonld	Sat Dec 08 19:06:45 2012 +0100
+++ b/test-suite/tests/compact-0018-in.jsonld	Sat Dec 08 21:03:19 2012 +0100
@@ -6,13 +6,23 @@
   "@id": "http://example.com/id1",
   "http://example.com/term": [
     {
+      "@set": [
+        { "@value": "v0.1", "@language": "de" },
+        { "@value": "v0.2", "@language": "en" },
+        "v0.3",
+        4,
+        true,
+        false
+      ]
+    },
+    {
       "@list": [
         { "@value": "v1.1", "@language": "de" },
-        { "@value": "v1.2", "@language": "de" },
-        { "@value": "v1.3", "@language": "de" },
-        { "@value": "v1.4", "@language": "de" },
-        { "@value": "v1.5", "@language": "de" },
-        { "@value": "v1.6", "@language": "de" }
+        { "@value": "v1.2", "@language": "en" },
+        "v1.3",
+        14,
+        true,
+        false
       ]
     },
     {
@@ -28,9 +38,9 @@
     {
       "@list": [
         "v3.1",
-        32,
+        "v3.2",
         "v3.3",
-        34,
+        "v3.4",
         "v3.5",
         "v3.6"
       ]
--- a/test-suite/tests/compact-0018-out.jsonld	Sat Dec 08 19:06:45 2012 +0100
+++ b/test-suite/tests/compact-0018-out.jsonld	Sat Dec 08 21:03:19 2012 +0100
@@ -12,13 +12,21 @@
     "term5": { "@id": "http://example.com/term", "@container": "@list", "@type": "type2" }
   },
   "@id": "id1",
+  "term": [
+    "v0.1",
+    { "@value": "v0.2", "@language": "en" },
+    { "@value": "v0.3" },
+    4,
+    true,
+    false
+  ],
   "term1": [
     "v1.1",
-    "v1.2",
-    "v1.3",
-    "v1.4",
-    "v1.5",
-    "v1.6"
+    { "@value": "v1.2", "@language": "en" },
+    { "@value": "v1.3" },
+    14,
+    true,
+    false
   ],
   "term2": [
     "v2.1",
@@ -30,9 +38,9 @@
   ],
   "term3": [
     "v3.1",
-    32,
+    "v3.2",
     "v3.3",
-    34,
+    "v3.4",
     "v3.5",
     "v3.6"
   ],