X-Git-Url: http://erislabs.net/gitweb/?p=liburi-template-perl.git;a=blobdiff_plain;f=t%2Fdata%2Fspec-other.json;fp=t%2Fdata%2Fspec-other.json;h=2dd947b8e3ff533806a302fd7a712305e31e8976;hp=0000000000000000000000000000000000000000;hb=c4fd5064ccd0e0c568bec68ebe82f3daf6c235b6;hpb=917525490f5d8e583f4b53dcd2d792b9e6f42c88 diff --git a/t/data/spec-other.json b/t/data/spec-other.json new file mode 100644 index 0000000..2dd947b --- /dev/null +++ b/t/data/spec-other.json @@ -0,0 +1,15 @@ +{ + "variables": { + }, + + "tests": [ + { + "template": "http://example.org/?q={bar=foo}", + "expected": "http://example.org/?q=foo" + }, + { + "template": "http://example.org/?{-join|&|bar=foo}", + "expected": "http://example.org/?bar=foo" + } + ] +}