From ed72e02bbadaf2164bf359bf7e8eac9ffcbd0b9e Mon Sep 17 00:00:00 2001 From: Joshua Liu Date: Fri, 24 Feb 2017 17:21:50 -0500 Subject: [PATCH] Change deps_spec expect ordering --- Library/Homebrew/test/deps_spec.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Library/Homebrew/test/deps_spec.rb b/Library/Homebrew/test/deps_spec.rb index c83577716a..4c892c93d5 100644 --- a/Library/Homebrew/test/deps_spec.rb +++ b/Library/Homebrew/test/deps_spec.rb @@ -10,22 +10,22 @@ describe "brew deps", :integration_test do it "outputs no dependencies for a Formula that has no dependencies" do expect { brew "deps", "foo" } - .to output("").to_stdout + .to be_a_success + .and not_to_output.to_stdout .and not_to_output.to_stderr - .and be_a_success end it "outputs a dependency for a Formula that has one dependency" do expect { brew "deps", "bar" } - .to output("foo\n").to_stdout + .to be_a_success + .and output("foo\n").to_stdout .and not_to_output.to_stderr - .and be_a_success end it "outputs all of a Formula's dependencies and their dependencies on separate lines" do expect { brew "deps", "baz" } - .to output("bar\nfoo\n").to_stdout + .to be_a_success + .and output("bar\nfoo\n").to_stdout .and not_to_output.to_stderr - .and be_a_success end end