aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-03-03 06:34:04 +0000
committerDavid Robillard <d@drobilla.net>2013-03-03 06:34:04 +0000
commitc7fb2c971e587dedb7151443f6424bee8235b333 (patch)
treed25a7db489aab2ea0aa7516ac9a228d37c4e1ac2 /tests
parent27f9c0f0e2768785bcadfc83bc1a18ca54f1f24d (diff)
downloadserd-c7fb2c971e587dedb7151443f6424bee8235b333.tar.gz
serd-c7fb2c971e587dedb7151443f6424bee8235b333.tar.bz2
serd-c7fb2c971e587dedb7151443f6424bee8235b333.zip
Pass negative eval tests (reject invalid escaped URI characters).
git-svn-id: http://svn.drobilla.net/serd/trunk@430 490d8e77-9747-427b-9fa3-0b8f29cee8a0
Diffstat (limited to 'tests')
-rw-r--r--tests/good/test-escapes.nt2
-rw-r--r--tests/good/test-escapes.ttl2
-rw-r--r--tests/good/test-uri-escape.nt2
-rw-r--r--tests/good/test-uri-escape.ttl2
4 files changed, 4 insertions, 4 deletions
diff --git a/tests/good/test-escapes.nt b/tests/good/test-escapes.nt
index 725b832c..e30222e7 100644
--- a/tests/good/test-escapes.nt
+++ b/tests/good/test-escapes.nt
@@ -1,2 +1,2 @@
<http://example.org/thing> <http://example.org/comment> "\\\r\n\t" .
-<http://example.org/thing> <http://example.org/comment> <http://example.org/\u003E> .
+<http://example.org/thing> <http://example.org/comment> <http://example.org/\u005C> .
diff --git a/tests/good/test-escapes.ttl b/tests/good/test-escapes.ttl
index 9898e883..e30222e7 100644
--- a/tests/good/test-escapes.ttl
+++ b/tests/good/test-escapes.ttl
@@ -1,2 +1,2 @@
<http://example.org/thing> <http://example.org/comment> "\\\r\n\t" .
-<http://example.org/thing> <http://example.org/comment> <http://example.org/\u003E> . \ No newline at end of file
+<http://example.org/thing> <http://example.org/comment> <http://example.org/\u005C> .
diff --git a/tests/good/test-uri-escape.nt b/tests/good/test-uri-escape.nt
index bdb27185..320e7c33 100644
--- a/tests/good/test-uri-escape.nt
+++ b/tests/good/test-uri-escape.nt
@@ -1 +1 @@
-<http://example.org/node> <http://example.org/prop> <scheme:\u0001\u0002\u0003\u0004\u0005\u0006\u0007\u0008\u000B\u000C\u000E\u000F\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001A\u001B\u001C\u001D\u001E\u001F\u0020!\u0022#$%&'()*+,-./0123456789:/\u003C=\u003E?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\u005C]\u005E_\u0060abcdefghijklmnopqrstuvwxyz\u007B\u007C\u007D~\u007F> .
+<http://example.org/node> <http://example.org/prop> <scheme:\u0001\u0002\u0003\u0004\u0005\u0006\u0007\u0008\u000B\u000C\u000E\u000F\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001A\u001B\u001C\u001D\u001E\u001F%20!\u0022#$%&'()*+,-./0123456789:/%3C=%3E?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\u005C]\u005E_\u0060abcdefghijklmnopqrstuvwxyz\u007B\u007C\u007D~\u007F> .
diff --git a/tests/good/test-uri-escape.ttl b/tests/good/test-uri-escape.ttl
index bdb27185..320e7c33 100644
--- a/tests/good/test-uri-escape.ttl
+++ b/tests/good/test-uri-escape.ttl
@@ -1 +1 @@
-<http://example.org/node> <http://example.org/prop> <scheme:\u0001\u0002\u0003\u0004\u0005\u0006\u0007\u0008\u000B\u000C\u000E\u000F\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001A\u001B\u001C\u001D\u001E\u001F\u0020!\u0022#$%&'()*+,-./0123456789:/\u003C=\u003E?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\u005C]\u005E_\u0060abcdefghijklmnopqrstuvwxyz\u007B\u007C\u007D~\u007F> .
+<http://example.org/node> <http://example.org/prop> <scheme:\u0001\u0002\u0003\u0004\u0005\u0006\u0007\u0008\u000B\u000C\u000E\u000F\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001A\u001B\u001C\u001D\u001E\u001F%20!\u0022#$%&'()*+,-./0123456789:/%3C=%3E?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\u005C]\u005E_\u0060abcdefghijklmnopqrstuvwxyz\u007B\u007C\u007D~\u007F> .