From 7c1c6e24da6aab969c25ab5d326dd93cc2cb8149 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Sat, 13 Jan 2024 16:27:42 +0300 Subject: fixed assertions: specifying empty command strings was undefined * passing an empty command string down to the shell would always do nothing, so it doesn't make sense to support that. * for the time being, we generate a proper error * in the future, it might make sense to define some special behavior like repeating the last command - but EC does not currently save the command line anywhere. * The generated documentation is currently ugly (FIXME). mandatory parameters are not properly detected by tedoc and we cannot keep apart Q-Registers from mandatory parameters either. Also, we should allow markup in command summaries. --- tests/testsuite.at | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests') diff --git a/tests/testsuite.at b/tests/testsuite.at index e5b001a..80e111c 100644 --- a/tests/testsuite.at +++ b/tests/testsuite.at @@ -137,6 +137,11 @@ AT_SETUP([Empty lexer name]) AT_CHECK([$SCITECO -e '@ES/SETILEXER//'], 1, ignore, ignore) AT_CLEANUP +AT_SETUP([Empty command string]) +AT_CHECK([$SCITECO -e '@EC//'], 1, ignore, ignore) +AT_CHECK([$SCITECO -e '@EGa//'], 1, ignore, ignore) +AT_CLEANUP + AT_BANNER([Known Bugs]) AT_SETUP([Number stack]) -- cgit v1.2.3