mirror of
https://github.com/koalaman/shellcheck
synced 2025-07-11 07:36:29 -07:00
Realign =s
This commit is contained in:
parent
c3ac4c3d87
commit
da8e450386
1 changed files with 24 additions and 24 deletions
|
@ -879,27 +879,27 @@ prop_readCondition2 = isOk readCondition "[[ (a = b) || (c = d) ]]"
|
|||
prop_readCondition3 = isOk readCondition "[[ $c = [[:alpha:].~-] ]]"
|
||||
prop_readCondition4 = isOk readCondition "[[ $c =~ *foo* ]]"
|
||||
prop_readCondition5 = isOk readCondition "[[ $c =~ f( ]] )* ]]"
|
||||
prop_readCondition5a= isOk readCondition "[[ $c =~ a(b) ]]"
|
||||
prop_readCondition5b= isOk readCondition "[[ $c =~ f( ($var ]]) )* ]]"
|
||||
prop_readCondition5a = isOk readCondition "[[ $c =~ a(b) ]]"
|
||||
prop_readCondition5b = isOk readCondition "[[ $c =~ f( ($var ]]) )* ]]"
|
||||
prop_readCondition6 = isOk readCondition "[[ $c =~ ^[yY]$ ]]"
|
||||
prop_readCondition7 = isOk readCondition "[[ ${line} =~ ^[[:space:]]*# ]]"
|
||||
prop_readCondition8 = isOk readCondition "[[ $l =~ ogg|flac ]]"
|
||||
prop_readCondition9 = isOk readCondition "[ foo -a -f bar ]"
|
||||
prop_readCondition10= isOk readCondition "[[\na == b\n||\nc == d ]]"
|
||||
prop_readCondition10 = isOk readCondition "[[\na == b\n||\nc == d ]]"
|
||||
prop_readCondition10a= isOk readCondition "[[\na == b ||\nc == d ]]"
|
||||
prop_readCondition10b= isOk readCondition "[[ a == b\n||\nc == d ]]"
|
||||
prop_readCondition11= isOk readCondition "[[ a == b ||\n c == d ]]"
|
||||
prop_readCondition12= isWarning readCondition "[ a == b \n -o c == d ]"
|
||||
prop_readCondition13= isOk readCondition "[[ foo =~ ^fo{1,3}$ ]]"
|
||||
prop_readCondition14= isOk readCondition "[ foo '>' bar ]"
|
||||
prop_readCondition15= isOk readCondition "[ foo \">=\" bar ]"
|
||||
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 ]]"
|
||||
prop_readCondition21= isOk readCondition "[[ $1 =~ ^(a\\ b)$ ]]"
|
||||
prop_readCondition22= isOk readCondition "[[ $1 =~ \\.a\\.(\\.b\\.)\\.c\\. ]]"
|
||||
prop_readCondition11 = isOk readCondition "[[ a == b ||\n c == d ]]"
|
||||
prop_readCondition12 = isWarning readCondition "[ a == b \n -o c == d ]"
|
||||
prop_readCondition13 = isOk readCondition "[[ foo =~ ^fo{1,3}$ ]]"
|
||||
prop_readCondition14 = isOk readCondition "[ foo '>' bar ]"
|
||||
prop_readCondition15 = isOk readCondition "[ foo \">=\" bar ]"
|
||||
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 ]]"
|
||||
prop_readCondition21 = isOk readCondition "[[ $1 =~ ^(a\\ b)$ ]]"
|
||||
prop_readCondition22 = isOk readCondition "[[ $1 =~ \\.a\\.(\\.b\\.)\\.c\\. ]]"
|
||||
readCondition = called "test expression" $ do
|
||||
opos <- getPosition
|
||||
start <- startSpan
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue