diff options
Diffstat (limited to 'testsuite/awk.tests')
-rwxr-xr-x | testsuite/awk.tests | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuite/awk.tests b/testsuite/awk.tests index 3933fefc9..9f353fc10 100755 --- a/testsuite/awk.tests +++ b/testsuite/awk.tests | |||
@@ -338,6 +338,9 @@ testing "awk continue" \ | |||
338 | testing "awk handles invalid for loop" \ | 338 | testing "awk handles invalid for loop" \ |
339 | "awk '{ for() }' 2>&1" "awk: cmd. line:1: Unexpected token\n" "" "" | 339 | "awk '{ for() }' 2>&1" "awk: cmd. line:1: Unexpected token\n" "" "" |
340 | 340 | ||
341 | testing "awk handles colon not preceded by ternary" \ | ||
342 | "awk 'foo:bar:' 2>&1" "awk: cmd. line:1: Unexpected token\n" "" "" | ||
343 | |||
341 | # testing "description" "command" "result" "infile" "stdin" | 344 | # testing "description" "command" "result" "infile" "stdin" |
342 | testing 'awk negative field access' \ | 345 | testing 'awk negative field access' \ |
343 | 'awk 2>&1 -- '\''{ $(-1) }'\' \ | 346 | 'awk 2>&1 -- '\''{ $(-1) }'\' \ |