diff options
Diffstat (limited to 'examples/c/bistromathic/bistromathic.test')
-rwxr-xr-x | examples/c/bistromathic/bistromathic.test | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/examples/c/bistromathic/bistromathic.test b/examples/c/bistromathic/bistromathic.test index b46f996a..4a8efe44 100755 --- a/examples/c/bistromathic/bistromathic.test +++ b/examples/c/bistromathic/bistromathic.test @@ -366,3 +366,26 @@ err: 1.15: syntax error: expected - or ( or number or function or variable befor err: 1 | (1++2) + 3 + '' err: | ^ ' + +# Check handling of literal tabs. "Escape" them with a C-v, so that +# they are not processed as completion requests. +cat >input<<EOF + *1 + *2 + *3 +EOF +# readline processes the tabs itself, and replaces then with spaces. +run -n 0 '> *1 +> *2 +> *3 +> '' +err: 1.9: syntax error: expected end of file or - or ( or exit or number or function etc., before * +err: 1 | *1 +err: | ^ +err: 2.9: syntax error: expected end of file or - or ( or exit or number or function etc., before * +err: 2 | *2 +err: | ^ +err: 3.9: syntax error: expected end of file or - or ( or exit or number or function etc., before * +err: 3 | *3 +err: | ^ +' |