mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-08-22 00:08:36 +08:00
Add new bats variables stderr and stderr_lines
These are being set by `run --separate-stderr` and have been introduced in https://github.com/bats-core/bats-core/releases/tag/v1.5.0
This commit is contained in:
@@ -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".
|
||||||
|
Reference in New Issue
Block a user