mirror of
https://github.com/koalaman/shellcheck
synced 2025-07-06 21:11:35 -07:00
Merge pull request #2973 from jandubois/bats-stderr
Add new bats variables stderr and stderr_lines
This commit is contained in:
commit
17ebc3dda0
1 changed files with 3 additions and 1 deletions
|
@ -535,7 +535,9 @@ getModifiedVariables t =
|
||||||
T_BatsTest {} -> [
|
T_BatsTest {} -> [
|
||||||
(t, t, "lines", DataArray SourceExternal),
|
(t, t, "lines", DataArray SourceExternal),
|
||||||
(t, t, "status", DataString SourceInteger),
|
(t, t, "status", DataString SourceInteger),
|
||||||
(t, t, "output", DataString SourceExternal)
|
(t, t, "output", DataString SourceExternal),
|
||||||
|
(t, t, "stderr", DataString SourceExternal),
|
||||||
|
(t, t, "stderr_lines", DataArray SourceExternal)
|
||||||
]
|
]
|
||||||
|
|
||||||
-- Count [[ -v foo ]] as an "assignment".
|
-- Count [[ -v foo ]] as an "assignment".
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue