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:
Jan Dubois 2024-04-24 19:05:29 -07:00
parent 2c5155e43d
commit 796c6bd848
1 changed files with 3 additions and 1 deletions

View File

@ -535,7 +535,9 @@ getModifiedVariables t =
T_BatsTest {} -> [
(t, t, "lines", DataArray SourceExternal),
(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".