diff options
| author | Jack Nagel | 2014-08-13 17:13:49 -0500 | 
|---|---|---|
| committer | Jack Nagel | 2014-08-13 17:15:03 -0500 | 
| commit | d48128037414a5598c419b1937d74b1819468570 (patch) | |
| tree | 59ede6e9667a2a92a57b22920397478646144d87 | |
| parent | 42cc4030fde0db0de56f2f56fba56f46f3d73cad (diff) | |
| download | homebrew-d48128037414a5598c419b1937d74b1819468570.tar.bz2 | |
Simplify tab test setup
| -rw-r--r-- | Library/Homebrew/test/test_tab.rb | 5 | 
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),  | 
