Make brew help cat test stricter.
This commit is contained in:
parent
a768859150
commit
81203d346c
@ -6,6 +6,7 @@ describe "brew", :integration_test do
|
|||||||
it "prints help for a documented Ruby command" do
|
it "prints help for a documented Ruby command" do
|
||||||
expect { brew "help", "cat" }
|
expect { brew "help", "cat" }
|
||||||
.to output(/^Usage: brew cat/).to_stdout
|
.to output(/^Usage: brew cat/).to_stdout
|
||||||
|
.and not_to_output.to_stderr
|
||||||
.and be_a_success
|
.and be_a_success
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user