summaryrefslogtreecommitdiffstats
path: root/tests/dimension/strings.sh
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2009-10-29 00:44:27 -0400
committerTavian Barnes <tavianator@gmail.com>2009-10-29 00:44:27 -0400
commita9e0784cbcd32dbd6184b280accaafd1c9575ba5 (patch)
tree986b047781acf522631d4f4bd8992d250ee01a1b /tests/dimension/strings.sh
parent605b34f1cdb8eb10c05198cfdf4e0a628592d9cf (diff)
downloaddimension-a9e0784cbcd32dbd6184b280accaafd1c9575ba5.tar.xz
Complete string parsing.
Diffstat (limited to 'tests/dimension/strings.sh')
-rwxr-xr-xtests/dimension/strings.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/dimension/strings.sh b/tests/dimension/strings.sh
index 7557100..58e0751 100755
--- a/tests/dimension/strings.sh
+++ b/tests/dimension/strings.sh
@@ -20,8 +20,7 @@
#########################################################################
strings=$(${top_builddir}/dimension/dimension --tokenize ${srcdir}/strings.pov)
-strings_exp='((string "This is a string with
-"escape sequences"\"))'
+strings_exp=$(echo -e "((string \"This is a string with escape sequences: \a\b\f\n\r\t!#\v\\\'\"\"))")
if [ "$strings" != "$strings_exp" ]; then
echo "strings.pov tokenized as \"$strings\"" >&2