aboutsummaryrefslogtreecommitdiffstats
path: root/test/extra/good/test-nq-syntax-all-rules.nq
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-02-09 11:01:37 -0500
committerDavid Robillard <d@drobilla.net>2024-03-08 17:20:00 -0500
commitfb30a102ee544acf21d387fc99a31111262b6209 (patch)
treef73b5524bd2471a0079f81cf8244aae6efae4db9 /test/extra/good/test-nq-syntax-all-rules.nq
parent66adb6e1cea6e1231723a41c60f0b9e650e20448 (diff)
downloadserd-fb30a102ee544acf21d387fc99a31111262b6209.tar.gz
serd-fb30a102ee544acf21d387fc99a31111262b6209.tar.bz2
serd-fb30a102ee544acf21d387fc99a31111262b6209.zip
Add tests with as many rules as possible in a single document
Diffstat (limited to 'test/extra/good/test-nq-syntax-all-rules.nq')
-rw-r--r--test/extra/good/test-nq-syntax-all-rules.nq7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/extra/good/test-nq-syntax-all-rules.nq b/test/extra/good/test-nq-syntax-all-rules.nq
new file mode 100644
index 00000000..a8b80b9a
--- /dev/null
+++ b/test/extra/good/test-nq-syntax-all-rules.nq
@@ -0,0 +1,7 @@
+# Cover as many grammar rules/situations as possible in a small document
+_:e.u.s <http://example.org/p> _:o.
+_:e.u.s <http://example.org/p> "o"@en-gb _:g.
+ _:s <http://example.org/p> "ob\t\b\n\r\f\\\"\'\u0025\U00015678ject" <http://example.org/g> .
+_:s <http://example.org/p> "€߿ࠀ࿿က쿿퀀퟿�𐀀𿿽񀀀󿿽􀀀􏿽" <http://example.org/g> .
+_:s <http://example.org/p> "o"^^<http://example.org/T> <http://example.org/g> .
+_:s <http://example.org/p> "o"@en _:g .