style fixes
This commit is contained in:
parent
29622c35d1
commit
ebb3b50cc1
@ -20,7 +20,7 @@ describe "brew install", :integration_test do
|
||||
it "does not install formulae with forbidden license" do
|
||||
setup_test_formula "package_license"
|
||||
|
||||
expect { brew "install", "package_license", "HOMEBREW_FORBIDDEN_LICENSES" => "0BSD MIT"}
|
||||
expect { brew "install", "package_license", "HOMEBREW_FORBIDDEN_LICENSES" => "0BSD MIT" }
|
||||
.to output("Error: package_license has a forbidden license 0BSD.\n").to_stderr
|
||||
.and not_to_output.to_stdout
|
||||
.and be_a_failure
|
||||
@ -30,7 +30,7 @@ describe "brew install", :integration_test do
|
||||
it "installs formulae if formulae license is not forbidden" do
|
||||
setup_test_formula "testball1"
|
||||
|
||||
expect { brew "install", "testball1", "HOMEBREW_FORBIDDEN_LICENSES" => "AAK ADSL AML"}
|
||||
expect { brew "install", "testball1", "HOMEBREW_FORBIDDEN_LICENSES" => "AAK ADSL AML" }
|
||||
.to output(%r{#{HOMEBREW_CELLAR}/testball1/0\.1}).to_stdout
|
||||
.and not_to_output.to_stderr
|
||||
.and be_a_success
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user