aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2024-01-13 16:27:42 +0300
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2024-01-13 16:27:42 +0300
commit7c1c6e24da6aab969c25ab5d326dd93cc2cb8149 (patch)
tree2264c784a4e531e7adf25d1b69173f8513babc19 /tests
parentfe62b2451ac200f846a5bae1d08ec9c3201e26c9 (diff)
downloadsciteco-7c1c6e24da6aab969c25ab5d326dd93cc2cb8149.tar.gz
fixed <EC$> 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 <param> markup in command summaries.
Diffstat (limited to 'tests')
-rw-r--r--tests/testsuite.at5
1 files changed, 5 insertions, 0 deletions
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])