projects
/
liburi-template-perl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Upstream version 0.18
[liburi-template-perl.git]
/
t
/
cases
/
negative-tests.json
diff --git
a/t/cases/negative-tests.json
b/t/cases/negative-tests.json
index
dca9c9e
..
552a6bf
100644
(file)
--- a/
t/cases/negative-tests.json
+++ b/
t/cases/negative-tests.json
@@
-5,6
+5,9
@@
"id" : "thing",
"var" : "value",
"hello" : "Hello World!",
"id" : "thing",
"var" : "value",
"hello" : "Hello World!",
+ "with space" : "fail",
+ " leading_space" : "Hi!",
+ "trailing_space " : "Bye!",
"empty" : "",
"path" : "/foo/bar",
"x" : "1024",
"empty" : "",
"path" : "/foo/bar",
"x" : "1024",
@@
-26,6
+29,9
@@
[ "{hello:2*}", false ] ,
[ "{??hello}", false ] ,
[ "{!hello}", false ] ,
[ "{hello:2*}", false ] ,
[ "{??hello}", false ] ,
[ "{!hello}", false ] ,
+ [ "{with space}", false],
+ [ "{ leading_space}", false],
+ [ "{trailing_space }", false],
[ "{=path}", false ] ,
[ "{$var}", false ],
[ "{|var*}", false ],
[ "{=path}", false ] ,
[ "{$var}", false ],
[ "{|var*}", false ],
@@
-41,6
+47,8
@@
[ "{;keys:1*}", false ],
[ "?{-join|&|var,list}" , false ],
[ "/people/{~thing}", false],
[ "{;keys:1*}", false ],
[ "?{-join|&|var,list}" , false ],
[ "/people/{~thing}", false],
+ [ "/{default-graph-uri}", false ],
+ [ "/sparql{?query,default-graph-uri}", false ],
[ "/sparql{?query){&default-graph-uri*}", false ],
[ "/resolution{?x, y}" , false ]
[ "/sparql{?query){&default-graph-uri*}", false ],
[ "/resolution{?x, y}" , false ]