summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/trig/Makefile.am6
-rw-r--r--tests/trig/bug-584-dos.out1
-rw-r--r--tests/trig/bug-584-dos.trig2
-rw-r--r--tests/trig/bug-584-unix.out1
-rw-r--r--tests/trig/bug-584-unix.trig2
5 files changed, 10 insertions, 2 deletions
diff --git a/tests/trig/Makefile.am b/tests/trig/Makefile.am
index e1d4c0d7..07515f30 100644
--- a/tests/trig/Makefile.am
+++ b/tests/trig/Makefile.am
@@ -21,10 +21,12 @@
#
TEST_FILES=\
-example1.trig example2.trig example3.trig bug370.trig bug451.trig
+example1.trig example2.trig example3.trig bug370.trig bug451.trig \
+bug-584-dos.trig bug-584-unix.trig
TEST_OUT_FILES=\
-example1.out example2.out example3.out bug370.out bug451.out
+example1.out example2.out example3.out bug370.out bug451.out \
+bug-584-dos.out bug-584-unix.out
# Used to make N-triples output consistent
BASE_URI=http://example.librdf.org/
diff --git a/tests/trig/bug-584-dos.out b/tests/trig/bug-584-dos.out
new file mode 100644
index 00000000..02aa5f5f
--- /dev/null
+++ b/tests/trig/bug-584-dos.out
@@ -0,0 +1 @@
+<http://example.org#this> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.org#that> <http://example.org#graph> .
diff --git a/tests/trig/bug-584-dos.trig b/tests/trig/bug-584-dos.trig
new file mode 100644
index 00000000..3b239ca6
--- /dev/null
+++ b/tests/trig/bug-584-dos.trig
@@ -0,0 +1,2 @@
+<http://example.org#graph>
+ { <http://example.org#this> a <http://example.org#that> . }
diff --git a/tests/trig/bug-584-unix.out b/tests/trig/bug-584-unix.out
new file mode 100644
index 00000000..02aa5f5f
--- /dev/null
+++ b/tests/trig/bug-584-unix.out
@@ -0,0 +1 @@
+<http://example.org#this> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.org#that> <http://example.org#graph> .
diff --git a/tests/trig/bug-584-unix.trig b/tests/trig/bug-584-unix.trig
new file mode 100644
index 00000000..256d45c0
--- /dev/null
+++ b/tests/trig/bug-584-unix.trig
@@ -0,0 +1,2 @@
+<http://example.org#graph>
+ { <http://example.org#this> a <http://example.org#that> . }