mirror of
https://github.com/koalaman/shellcheck
synced 2025-07-07 21:41:34 -07:00
Save string read by T_ParamSubSpecialChar
This commit is contained in:
parent
0897ab7092
commit
b4fb439191
3 changed files with 5 additions and 4 deletions
|
@ -1015,8 +1015,7 @@ readDollarBracedLiteral = do
|
|||
|
||||
readParamSubSpecialChar = do
|
||||
id <- getNextId
|
||||
many1 paramSubSpecialChars
|
||||
return $ T_ParamSubSpecialChar id
|
||||
T_ParamSubSpecialChar id <$> many1 paramSubSpecialChars
|
||||
|
||||
prop_readProcSub1 = isOk readProcSub "<(echo test | wc -l)"
|
||||
prop_readProcSub2 = isOk readProcSub "<( if true; then true; fi )"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue