aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/testsuite.at
diff options
context:
space:
mode:
authorRobin Haberkorn <rhaberkorn@fmsbw.de>2026-04-14 01:16:04 +0200
committerRobin Haberkorn <rhaberkorn@fmsbw.de>2026-04-14 23:19:45 +0200
commit34af154e92383161666751ca69a288c98f5cca60 (patch)
tree8bea36b04c21205321724b8690d53b3a23bc12e5 /tests/testsuite.at
parentcd48ea8f00567f30d9685f96a12b8f123a121f62 (diff)
`^A` now accepts an optional integer to specify the message severityHEADmaster-fmsbw-cimaster
* I.e. you can now log warnings and errors from SciTECO code as well. * We do not need a version of ^A accepting code points, since this is supported by ^T already.
Diffstat (limited to 'tests/testsuite.at')
-rw-r--r--tests/testsuite.at10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/testsuite.at b/tests/testsuite.at
index 6bc33e4..a236149 100644
--- a/tests/testsuite.at
+++ b/tests/testsuite.at
@@ -221,6 +221,16 @@ AT_DATA([expout], [[TEST
Line 2
]])
TE_CHECK([[@^A/TEST^JLine 2^J/]], 0, expout, ignore)
+# FIXME: "Info" messages are surpressed by --quiet.
+#AT_DATA([expout], [[Info: TEST
+#]])
+#TE_CHECK([[1@^A/TEST/]], 0, expout, ignore)
+AT_DATA([experr], [[Warning: TEST
+]])
+TE_CHECK([[2@^A/TEST/]], 0, ignore, experr)
+AT_DATA([experr], [[Error: TEST
+]])
+TE_CHECK([[3@^A/TEST/]], 0, ignore, experr)
AT_CLEANUP
AT_SETUP([Type out buffer contents])