Skip to content
Snippets Groups Projects
Commit 472a2cec authored by Jack Nagel's avatar Jack Nagel
Browse files

Avoid using setters in tab tests

parent 0c51cf12
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment