From 4cd874e79f88f79a3782d4b7feea60b48ec26598 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 25 Feb 2013 06:18:29 +0000 Subject: Support most of the latest Turtle Editor's Draft. git-svn-id: http://svn.drobilla.net/serd/trunk@418 490d8e77-9747-427b-9fa3-0b8f29cee8a0 --- tests/good/test-07.nt | 10 +++---- tests/good/test-29.nt | 1 - tests/good/test-29.ttl | 1 - tests/good/test-backspace.nt | 4 +-- tests/good/test-blank-in-list.nt | 6 ++-- tests/good/test-escapes.ttl | 2 +- tests/good/test-list-in-blank.nt | 10 +++---- tests/good/test-list-subject.nt | 10 +++---- tests/good/test-pretty.nt | 64 ++++++++++++++++++++-------------------- tests/good/test-uri-escape.nt | 1 + tests/good/test-uri-escape.ttl | 1 + 11 files changed, 55 insertions(+), 55 deletions(-) delete mode 100644 tests/good/test-29.nt delete mode 100644 tests/good/test-29.ttl create mode 100644 tests/good/test-uri-escape.nt create mode 100644 tests/good/test-uri-escape.ttl (limited to 'tests/good') diff --git a/tests/good/test-07.nt b/tests/good/test-07.nt index 923f26a4..e62cede5 100644 --- a/tests/good/test-07.nt +++ b/tests/good/test-07.nt @@ -1,5 +1,5 @@ - _:el1 . -_:el1 "apple" . -_:el1 _:el2 . -_:el2 "banana" . -_:el2 . + _:b1 . +_:b1 "apple" . +_:b1 _:b2 . +_:b2 "banana" . +_:b2 . diff --git a/tests/good/test-29.nt b/tests/good/test-29.nt deleted file mode 100644 index 612052d3..00000000 --- a/tests/good/test-29.nt +++ /dev/null @@ -1 +0,0 @@ - . diff --git a/tests/good/test-29.ttl b/tests/good/test-29.ttl deleted file mode 100644 index 612052d3..00000000 --- a/tests/good/test-29.ttl +++ /dev/null @@ -1 +0,0 @@ - . diff --git a/tests/good/test-backspace.nt b/tests/good/test-backspace.nt index ad4806cf..3a88c436 100644 --- a/tests/good/test-backspace.nt +++ b/tests/good/test-backspace.nt @@ -1,2 +1,2 @@ - "\u0008" . - "\uFFFD" . + "\b" . + "\b" . diff --git a/tests/good/test-blank-in-list.nt b/tests/good/test-blank-in-list.nt index 253087e7..36bac6d7 100644 --- a/tests/good/test-blank-in-list.nt +++ b/tests/good/test-blank-in-list.nt @@ -1,4 +1,4 @@ - _:el1 . -_:el1 _:b2 . + _:b1 . +_:b1 _:b2 . _:b2 . -_:el1 . +_:b1 . diff --git a/tests/good/test-escapes.ttl b/tests/good/test-escapes.ttl index ff306b15..9898e883 100644 --- a/tests/good/test-escapes.ttl +++ b/tests/good/test-escapes.ttl @@ -1,2 +1,2 @@ "\\\r\n\t" . - > . \ No newline at end of file + . \ No newline at end of file diff --git a/tests/good/test-list-in-blank.nt b/tests/good/test-list-in-blank.nt index b7f631da..108363f2 100644 --- a/tests/good/test-list-in-blank.nt +++ b/tests/good/test-list-in-blank.nt @@ -1,6 +1,6 @@ _:b1 . -_:b1 _:el2 . -_:el2 "apple" . -_:el2 _:el3 . -_:el3 "banana" . -_:el3 . +_:b1 _:b2 . +_:b2 "apple" . +_:b2 _:b3 . +_:b3 "banana" . +_:b3 . diff --git a/tests/good/test-list-subject.nt b/tests/good/test-list-subject.nt index ef87b0f2..e4f9c40c 100644 --- a/tests/good/test-list-subject.nt +++ b/tests/good/test-list-subject.nt @@ -1,6 +1,6 @@ . -_:el1 "apple" . -_:el1 _:el2 . -_:el2 "banana" . -_:el2 . -_:el1 . +_:b1 "apple" . +_:b1 _:b2 . +_:b2 "banana" . +_:b2 . +_:b1 . diff --git a/tests/good/test-pretty.nt b/tests/good/test-pretty.nt index f96a10e2..9251563a 100644 --- a/tests/good/test-pretty.nt +++ b/tests/good/test-pretty.nt @@ -2,33 +2,33 @@ _:b1 . . _:b2 _:b3 . -_:el4 "apple" . -_:el4 _:el5 . -_:el5 "banana" . -_:el5 _:el6 . -_:el6 "pear" . -_:el6 . -_:el4 . -_:el7 _:el8 . -_:el8 . -_:el8 _:el9 . -_:el9 . -_:el9 . -_:el7 _:el10 . -_:el10 _:el11 . -_:el11 . -_:el11 _:el12 . -_:el12 . -_:el12 . -_:el10 . -_:el7 . -_:b13 _:el14 . -_:el14 "apple" . -_:el14 _:el15 . -_:el15 "banana" . -_:el15 _:el16 . -_:el16 "pear" . -_:el16 . +_:b4 "apple" . +_:b4 _:b5 . +_:b5 "banana" . +_:b5 _:b6 . +_:b6 "pear" . +_:b6 . +_:b4 . +_:b7 _:b8 . +_:b8 . +_:b8 _:b9 . +_:b9 . +_:b9 . +_:b7 _:b10 . +_:b10 _:b11 . +_:b11 . +_:b11 _:b12 . +_:b12 . +_:b12 . +_:b10 . +_:b7 . +_:b13 _:b14 . +_:b14 "apple" . +_:b14 _:b15 . +_:b15 "banana" . +_:b15 _:b16 . +_:b16 "pear" . +_:b16 . _:b17 . _:b17 . _:b17 . @@ -37,10 +37,10 @@ _:b19 . _:b19 . _:b18 _:b20 . _:b20 . -_:b21 _:el22 . -_:el22 _:b23 . +_:b21 _:b22 . +_:b22 _:b23 . _:b23 . -_:el22 _:el24 . -_:el24 _:b25 . +_:b22 _:b24 . +_:b24 _:b25 . _:b25 . -_:el24 . +_:b24 . diff --git a/tests/good/test-uri-escape.nt b/tests/good/test-uri-escape.nt new file mode 100644 index 00000000..bdb27185 --- /dev/null +++ b/tests/good/test-uri-escape.nt @@ -0,0 +1 @@ + . diff --git a/tests/good/test-uri-escape.ttl b/tests/good/test-uri-escape.ttl new file mode 100644 index 00000000..bdb27185 --- /dev/null +++ b/tests/good/test-uri-escape.ttl @@ -0,0 +1 @@ + . -- cgit v1.2.1