aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-12-23 23:23:19 +0000
committerDavid Robillard <d@drobilla.net>2011-12-23 23:23:19 +0000
commit4f1cec5fd409fc7ba98ca0bb19af10a492a6af2a (patch)
tree40de7868ba42b62f41a0f4e261496f4d3695c4e9 /tests
parent4b512a68903953e1372c3ad3b982eed72a7db681 (diff)
downloadserd-4f1cec5fd409fc7ba98ca0bb19af10a492a6af2a.tar.gz
serd-4f1cec5fd409fc7ba98ca0bb19af10a492a6af2a.tar.bz2
serd-4f1cec5fd409fc7ba98ca0bb19af10a492a6af2a.zip
Escape ASCII control characters in output (e.g. fix problems with string
literals that start with a backspace). git-svn-id: http://svn.drobilla.net/serd/trunk@263 490d8e77-9747-427b-9fa3-0b8f29cee8a0
Diffstat (limited to 'tests')
-rw-r--r--tests/test-backspace.out1
-rw-r--r--tests/test-backspace.ttl1
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/test-backspace.out b/tests/test-backspace.out
new file mode 100644
index 00000000..ae8d3678
--- /dev/null
+++ b/tests/test-backspace.out
@@ -0,0 +1 @@
+<http://example.org/thing> <http://example.org/label> "\u0008" .
diff --git a/tests/test-backspace.ttl b/tests/test-backspace.ttl
new file mode 100644
index 00000000..0e695a88
--- /dev/null
+++ b/tests/test-backspace.ttl
@@ -0,0 +1 @@
+<http://example.org/thing> <http://example.org/label> "\u0008" . \ No newline at end of file