diff --git a/spec/bashcov/runner_spec.rb b/spec/bashcov/runner_spec.rb index 0e4641d..8487b59 100644 --- a/spec/bashcov/runner_spec.rb +++ b/spec/bashcov/runner_spec.rb @@ -50,6 +50,10 @@ ENV["SHELLOPTS"] = "posix" end + after do + ENV["SHELLOPTS"] = nil + end + it "merges the flags" do runner.run expect(ENV["SHELLOPTS"]).to eq("posix:xtrace")