Imported Upstream version 0.16
[liburi-template-perl.git] / t / data / spec.json
diff --git a/t/data/spec.json b/t/data/spec.json
deleted file mode 100644 (file)
index 92979bd..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-{
-  "variables": {
-    "foo"    : "\u03d3",
-    "bar"    : "fred",
-    "baz"    : "10,20,30",
-    "qux"    : ["10","20","30"],
-    "corge"  : [],
-    "grault" : "",
-    "garply" : "a/b/c",
-    "waldo"  : "ben & jerrys",
-    "fred"   : ["fred", "", "wilma"],
-    "plugh"  : ["\u017F\u0307", "\u0073\u0307"],
-    "1-a_b.c": 200
-  },
-
-  "tests": [
-    {
-      "template": "http://example.org/?q={bar}",
-      "expected": "http://example.org/?q=fred"
-    },
-
-    {
-      "template": "/{xyzzy}",
-      "expected": "/"
-    },
-
-    {
-      "template": "http://example.org/?{-join|&|foo,bar,xyzzy,baz}",
-      "expected": "http://example.org/?foo=%CE%8E&bar=fred&baz=10%2C20%2C30"
-    },
-
-    {
-      "template": "http://example.org/?d={-list|,|qux}",
-      "expected": "http://example.org/?d=10,20,30"
-    },
-
-    {
-      "template": "http://example.org/?d={-list|&d=|qux}",
-      "expected": "http://example.org/?d=10&d=20&d=30"
-    },
-
-    {
-      "template": "http://example.org/{bar}{bar}/{garply}",
-      "expected": "http://example.org/fredfred/a%2Fb%2Fc"
-    },
-
-    {
-      "template": "http://example.org/{bar}{-prefix|/|fred}",
-      "expected": "http://example.org/fred/fred//wilma"
-    },
-
-    {
-      "template": "{-neg|:|corge}{-suffix|:|plugh}",
-      "expected": ":%E1%B9%A1:%E1%B9%A1:"
-    },
-
-    {
-      "template": "../{waldo}/",
-      "expected": "../ben%20%26%20jerrys/"
-    },
-
-    {
-      "template": "telnet:192.0.2.16{-opt|:80|grault}",
-      "expected": "telnet:192.0.2.16:80"
-    },
-
-    {
-      "template": ":{1-a_b.c}:",
-      "expected": ":200:"
-    }
-  ]
-}