aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-12-26 21:13:07 +0000
committerDavid Robillard <d@drobilla.net>2011-12-26 21:13:07 +0000
commitf4b25c02971b82cd841d3f6f7afd020b97825226 (patch)
tree4accd4f41b8f1f53b5ae0aae193a6b155c366331 /tests
parentf3c95977f6c71b936e98f41c321265835c4fd623 (diff)
downloadserd-f4b25c02971b82cd841d3f6f7afd020b97825226.tar.gz
serd-f4b25c02971b82cd841d3f6f7afd020b97825226.tar.bz2
serd-f4b25c02971b82cd841d3f6f7afd020b97825226.zip
Escape non-printable ASCII characters in ASCII output (fix #795).
git-svn-id: http://svn.drobilla.net/serd/trunk@278 490d8e77-9747-427b-9fa3-0b8f29cee8a0
Diffstat (limited to 'tests')
-rw-r--r--tests/test-long-string.out1
-rw-r--r--tests/test-long-string.ttl7
2 files changed, 8 insertions, 0 deletions
diff --git a/tests/test-long-string.out b/tests/test-long-string.out
new file mode 100644
index 00000000..ba6be49c
--- /dev/null
+++ b/tests/test-long-string.out
@@ -0,0 +1 @@
+<http://example.org/thing> <http://example.org/greeting> "This is a\nlong string\nwith\n tabs\nand spaces." .
diff --git a/tests/test-long-string.ttl b/tests/test-long-string.ttl
new file mode 100644
index 00000000..7da44b4b
--- /dev/null
+++ b/tests/test-long-string.ttl
@@ -0,0 +1,7 @@
+@prefix : <http://example.org/> .
+
+:thing :greeting """This is a
+long string
+with
+ tabs
+and spaces.""" . \ No newline at end of file