mirror of
https://github.com/koalaman/shellcheck
synced 2025-07-16 10:03:08 -07:00
Add unit test for issue #1091
This commit is contained in:
parent
72971fa52b
commit
3b004275cf
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue