Skip to content
This repository has been archived by the owner on Mar 12, 2019. It is now read-only.

Commit

Permalink
test/dev-cmd/audit: Fix test failure [Linux]
Browse files Browse the repository at this point in the history
Fix the test failure:
FormulaAuditor#audit_deps a dependency on a macOS-provided keg-only formula
which is not whitelisted problems should match [/unnecessary/]
Failure/Error: its(:problems) { are_expected.to match([/unnecessary/]) }
expected [] to match [/unnecessary/]
  • Loading branch information
sjackman committed Nov 20, 2017
1 parent 1d88684 commit ed30aa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Homebrew/test/dev-cmd/audit_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ class Foo < Formula

subject { fa }

its(:problems) { are_expected.to match([/unnecessary/]) }
its(:problems, :needs_macos) { are_expected.to match([/unnecessary/]) }
end
end
end
Expand Down

0 comments on commit ed30aa3

Please sign in to comment.