aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/test_tab.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/test/test_tab.rb')
-rw-r--r--Library/Homebrew/test/test_tab.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/Library/Homebrew/test/test_tab.rb b/Library/Homebrew/test/test_tab.rb
index 599fb89de..68e5dfb97 100644
--- a/Library/Homebrew/test/test_tab.rb
+++ b/Library/Homebrew/test/test_tab.rb
@@ -4,9 +4,8 @@ require "formula"
class TabTests < Homebrew::TestCase
def setup
- @used, @unused = Options.new, Options.new
- @used << Option.new("with-foo") << Option.new("without-bar")
- @unused << Option.new("with-baz") << Option.new("without-qux")
+ @used = Options.create(%w(--with-foo --without-bar))
+ @unused = Options.create(%w(--with-baz --without-qux))
@tab = Tab.new({
:used_options => @used.map(&:to_s),