Skip to content

Commit

Permalink
Suppress unused warnings about stderr and stderr_lines from bats test…
Browse files Browse the repository at this point in the history
…s, fixing tests.
  • Loading branch information
koalaman committed Sep 1, 2024
1 parent 68e6f02 commit 1487e57
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/ShellCheck/Data.hs
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ internalVariables = [
, "FLAGS_ARGC", "FLAGS_ARGV", "FLAGS_ERROR", "FLAGS_FALSE", "FLAGS_HELP",
"FLAGS_PARENT", "FLAGS_RESERVED", "FLAGS_TRUE", "FLAGS_VERSION",
"flags_error", "flags_return"

-- Bats
,"stderr", "stderr_lines"
]

specialIntegerVariables = [
Expand Down

0 comments on commit 1487e57

Please sign in to comment.