diff options
author | David Robillard <d@drobilla.net> | 2013-03-24 05:53:56 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2013-03-24 05:53:56 +0000 |
commit | 0c9f5eb2eeb4927e51f43ac2cba85cebca873234 (patch) | |
tree | a07bb718fc7ac5dad87664cc8c09d19ad6a91c04 /tests | |
parent | 217bc5d3bb4ba9be558b120d594239aea46acfa5 (diff) | |
download | serd-0c9f5eb2eeb4927e51f43ac2cba85cebca873234.tar.gz serd-0c9f5eb2eeb4927e51f43ac2cba85cebca873234.tar.bz2 serd-0c9f5eb2eeb4927e51f43ac2cba85cebca873234.zip |
Set SERD_HAS_NEWLINE and SERD_HAS_QUOTE flags when unescaped newlines or quotes are read.
Don't escape legal ASCII characters when writing long literals.
git-svn-id: http://svn.drobilla.net/serd/trunk@439 490d8e77-9747-427b-9fa3-0b8f29cee8a0
Diffstat (limited to 'tests')
-rw-r--r-- | tests/good/test-backspace.nt | 1 | ||||
-rw-r--r-- | tests/good/test-backspace.ttl | 5 |
2 files changed, 5 insertions, 1 deletions
diff --git a/tests/good/test-backspace.nt b/tests/good/test-backspace.nt index 3a88c436..3a110da6 100644 --- a/tests/good/test-backspace.nt +++ b/tests/good/test-backspace.nt @@ -1,2 +1,3 @@ <http://example.org/thing> <http://example.org/label> "\b" . <http://example.org/thing> <http://example.org/label> "\b" . +<http://example.org/thing> <http://example.org/label> "\n\b\n" . diff --git a/tests/good/test-backspace.ttl b/tests/good/test-backspace.ttl index 07375d76..1e33ba95 100644 --- a/tests/good/test-backspace.ttl +++ b/tests/good/test-backspace.ttl @@ -1,2 +1,5 @@ <http://example.org/thing> <http://example.org/label> "\u0008" . -<http://example.org/thing> <http://example.org/label> "" .
\ No newline at end of file +<http://example.org/thing> <http://example.org/label> "" . +<http://example.org/thing> <http://example.org/label> """ + +""" .
\ No newline at end of file |