From 3b004275cf37342ad186dc177848b0a8b0dfcfe0 Mon Sep 17 00:00:00 2001 From: Vidar Holen Date: Sat, 20 Jan 2018 11:42:31 -0800 Subject: [PATCH] Add unit test for issue #1091 --- ShellCheck/Parser.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/ShellCheck/Parser.hs b/ShellCheck/Parser.hs index 17190d1..1436802 100644 --- a/ShellCheck/Parser.hs +++ b/ShellCheck/Parser.hs @@ -835,6 +835,7 @@ prop_readCondition16= isOk readCondition "[ foo \\< bar ]" prop_readCondition17= isOk readCondition "[[ ${file::1} = [-.\\|/\\\\] ]]" prop_readCondition18= isOk readCondition "[ ]" prop_readCondition19= isOk readCondition "[ '(' x \")\" ]" +prop_readCondition20= isOk readCondition "[[ echo_rc -eq 0 ]]" readCondition = called "test expression" $ do opos <- getPosition id <- getNextId