From eb9f3227a05102248243f57dd66d032298ea3d39 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Fri, 1 Oct 2021 11:39:18 -0400 Subject: tests: Add a test for an operator in an unexpected position --- tests.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests.sh') diff --git a/tests.sh b/tests.sh index 01b5a42..df6eb04 100755 --- a/tests.sh +++ b/tests.sh @@ -664,6 +664,8 @@ bfs_tests=( test_expr_flag_path test_expr_path_flag + test_unexpected_operator + test_typo # Flags @@ -3153,6 +3155,9 @@ function test_stderr_fails_loudly() { fi } +function test_unexpected_operator() { + ! quiet invoke_bfs \! -o -print +} BOL= EOL='\n' -- cgit v1.2.3