From 15aaacf715d25bb32ba2bb6b9fd44eb1db843713 Mon Sep 17 00:00:00 2001 From: Vidar Holen Date: Wed, 15 Aug 2018 18:30:10 -0700 Subject: [PATCH] Add test for parsing bitwise not --- src/ShellCheck/Parser.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ShellCheck/Parser.hs b/src/ShellCheck/Parser.hs index 0df5474..4fcfbb4 100644 --- a/src/ShellCheck/Parser.hs +++ b/src/ShellCheck/Parser.hs @@ -695,6 +695,7 @@ prop_a19= isOk readArithmeticContents "\\\n3 +\\\n 2" prop_a20= isOk readArithmeticContents "a ? b ? c : d : e" prop_a21= isOk readArithmeticContents "a ? b : c ? d : e" prop_a22= isOk readArithmeticContents "!!a" +prop_a23= isOk readArithmeticContents "~0" readArithmeticContents :: Monad m => SCParser m Token readArithmeticContents = readSequence