From 34af154e92383161666751ca69a288c98f5cca60 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Tue, 14 Apr 2026 01:16:04 +0200 Subject: `^A` now accepts an optional integer to specify the message severity * 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. --- tests/testsuite.at | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'tests/testsuite.at') 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]) -- cgit v1.2.3