diff options
| author | Jack Nagel | 2014-08-14 01:00:23 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-08-14 01:00:23 -0500 |
| commit | c7444d34f783c7716d87ae7ea1074bec62f703bc (patch) | |
| tree | da250d669115fb49215ea4e5fed62eccdea08707 /Library/Homebrew/test | |
| parent | 4c4193e905ed87faf58d9f41f1724f5353943e93 (diff) | |
| download | brew-c7444d34f783c7716d87ae7ea1074bec62f703bc.tar.bz2 | |
Use the as_flags method instead of map
Diffstat (limited to 'Library/Homebrew/test')
| -rw-r--r-- | Library/Homebrew/test/test_tab.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/test/test_tab.rb b/Library/Homebrew/test/test_tab.rb index 68e5dfb97..37a2cc06f 100644 --- a/Library/Homebrew/test/test_tab.rb +++ b/Library/Homebrew/test/test_tab.rb @@ -8,8 +8,8 @@ class TabTests < Homebrew::TestCase @unused = Options.create(%w(--with-baz --without-qux)) @tab = Tab.new({ - :used_options => @used.map(&:to_s), - :unused_options => @unused.map(&:to_s), + :used_options => @used.as_flags, + :unused_options => @unused.as_flags, :built_as_bottle => false, :poured_from_bottle => true, :tapped_from => "Homebrew/homebrew", |
