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:
parent
2c5155e43d
commit
796c6bd848
|
@ -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…
Reference in New Issue