diff options
Diffstat (limited to 'tests/dimension')
-rw-r--r-- | tests/dimension/strings.pov | 2 | ||||
-rwxr-xr-x | tests/dimension/strings.sh | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/tests/dimension/strings.pov b/tests/dimension/strings.pov index 307b774..663afdd 100644 --- a/tests/dimension/strings.pov +++ b/tests/dimension/strings.pov @@ -18,4 +18,4 @@ *************************************************************************/ // Test string handling, including escape sequences -"This is a string with\n\"escape sequences\"\\" +"This is a string with escape sequences: \a\b\f\n\r\t\u2123\v\\\'\""
\ No newline at end of file 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 |