From c7831a457d738d9723231cae77b30b1b22b39dbc Mon Sep 17 00:00:00 2001 From: Ben Muschol Date: Sat, 16 Feb 2019 07:39:48 -0500 Subject: [PATCH] Get brew style to pass --- Library/Homebrew/test/cli_parser_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/test/cli_parser_spec.rb b/Library/Homebrew/test/cli_parser_spec.rb index 53504dd287..c5c1f25764 100644 --- a/Library/Homebrew/test/cli_parser_spec.rb +++ b/Library/Homebrew/test/cli_parser_spec.rb @@ -183,8 +183,8 @@ describe Homebrew::CLI::Parser do allow(ENV).to receive(:[]).with("HOMEBREW_SWITCH_B").and_return("0") allow(ENV).to receive(:[]) parser.parse(["--switch-b"]) - expect(Homebrew.args.switch_a?).to be_falsy - expect(Homebrew.args.switch_b?).to be true + expect(Homebrew.args.switch_a).to be_falsy + expect(Homebrew.args).to be_switch_b end it "raises an exception on constraint violation when both are env vars" do