aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/test/test_tab.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/Library/Homebrew/test/test_tab.rb b/Library/Homebrew/test/test_tab.rb
index 2b7605d54..bb08cc5c3 100644
--- a/Library/Homebrew/test/test_tab.rb
+++ b/Library/Homebrew/test/test_tab.rb
@@ -48,10 +48,8 @@ class TabTests < Homebrew::TestCase
end
def test_universal?
- refute_predicate @tab, :universal?
- @used << "universal"
- @tab.used_options = @used.map(&:to_s)
- assert_predicate @tab, :universal?
+ tab = Tab.new(:used_options => %w[--universal])
+ assert_predicate tab, :universal?
end
def test_options