aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/testsuite.at
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2025-03-29 16:53:34 +0300
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2025-03-29 17:25:05 +0300
commitc30a8963a2778ce4e1bd73b5fa667a2fff3693f2 (patch)
tree4b0abfee2d344615b84a05b6b66447f6fc63739e /tests/testsuite.at
parent62a9c8d112e33d1202c8562744bddfa102c1f96e (diff)
downloadsciteco-c30a8963a2778ce4e1bd73b5fa667a2fff3693f2.tar.gz
bumped target release to v2.4.0 and updated README and TODO
* Added a test case for the known bug of out-of-place modifiers. Well, this is a syntactic shortcoming rather than a true bug. But I did run into it more than once.
Diffstat (limited to 'tests/testsuite.at')
-rw-r--r--tests/testsuite.at8
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).