diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/testsuite.at | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/testsuite.at b/tests/testsuite.at index c1256c7..cb1fe61 100644 --- a/tests/testsuite.at +++ b/tests/testsuite.at @@ -333,11 +333,19 @@ AT_XFAIL_IF(true) AT_CLEANUP AT_SETUP([Dangling Else/End-If]) +# Should throw syntax errors. AT_CHECK([$SCITECO -e "'"], 1, ignore, ignore) AT_CHECK([$SCITECO -e "| (0/0) '"], 1, ignore, ignore) AT_XFAIL_IF(true) AT_CLEANUP +AT_SETUP([Out-of-place modifiers]) +# NOTE: `J` does not currently support @-modifiers. +# This should be a syntax error. +AT_CHECK([$SCITECO -e "@I/foo^J/ @J Xa"], 1, ignore, ignore) +AT_XFAIL_IF(true) +AT_CLEANUP + # NOTE: This bug depends on specific build options of Glib's # PCRE which is not predictable. # It segfaults at least on Ubuntu 20.04 (libpcre3 v2:8.39). |