Skip to content

Commit 1487e57

Browse files
committed
Suppress unused warnings about stderr and stderr_lines from bats tests, fixing tests.
1 parent 68e6f02 commit 1487e57

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/ShellCheck/Data.hs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ internalVariables = [
6262
, "FLAGS_ARGC", "FLAGS_ARGV", "FLAGS_ERROR", "FLAGS_FALSE", "FLAGS_HELP",
6363
"FLAGS_PARENT", "FLAGS_RESERVED", "FLAGS_TRUE", "FLAGS_VERSION",
6464
"flags_error", "flags_return"
65+
66+
-- Bats
67+
,"stderr", "stderr_lines"
6568
]
6669

6770
specialIntegerVariables = [

0 commit comments

Comments
 (0)