diff options
Diffstat (limited to 'tests/dimension')
-rw-r--r-- | tests/dimension/punctuation.pov | 10 | ||||
-rwxr-xr-x | tests/dimension/punctuation.sh | 2 |
2 files changed, 2 insertions, 10 deletions
diff --git a/tests/dimension/punctuation.pov b/tests/dimension/punctuation.pov index a691693..9e8a906 100644 --- a/tests/dimension/punctuation.pov +++ b/tests/dimension/punctuation.pov @@ -19,12 +19,4 @@ // Test that we correctly tokenize all simple punctuation marks -{ - ( - [ - < - + - * / , - > - ] - ) -} +{}()[]+-*/,;?:&.|=<>!<= >= != diff --git a/tests/dimension/punctuation.sh b/tests/dimension/punctuation.sh index 5364670..3765ffa 100755 --- a/tests/dimension/punctuation.sh +++ b/tests/dimension/punctuation.sh @@ -20,7 +20,7 @@ ######################################################################### punctuation=$(${top_builddir}/dimension/dimension --tokenize ${srcdir}/punctuation.pov) -punctuation_exp='({ \( [ < + - * / , > ] \) })' +punctuation_exp='({ } \( \) [ ] + - * / , ; ? : & . | = < > ! <= >= !=)' if [ "$punctuation" != "$punctuation_exp" ]; then echo "punctuation.pov tokenized as \"$punctuation\"" >&2 |