mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-08-08 22:35:54 +08:00
Add unit test for issue #1091
This commit is contained in:
@@ -835,6 +835,7 @@ prop_readCondition16= isOk readCondition "[ foo \\< bar ]"
|
|||||||
prop_readCondition17= isOk readCondition "[[ ${file::1} = [-.\\|/\\\\] ]]"
|
prop_readCondition17= isOk readCondition "[[ ${file::1} = [-.\\|/\\\\] ]]"
|
||||||
prop_readCondition18= isOk readCondition "[ ]"
|
prop_readCondition18= isOk readCondition "[ ]"
|
||||||
prop_readCondition19= isOk readCondition "[ '(' x \")\" ]"
|
prop_readCondition19= isOk readCondition "[ '(' x \")\" ]"
|
||||||
|
prop_readCondition20= isOk readCondition "[[ echo_rc -eq 0 ]]"
|
||||||
readCondition = called "test expression" $ do
|
readCondition = called "test expression" $ do
|
||||||
opos <- getPosition
|
opos <- getPosition
|
||||||
id <- getNextId
|
id <- getNextId
|
||||||
|
Reference in New Issue
Block a user