aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test
diff options
context:
space:
mode:
authorJack Nagel2014-08-14 01:00:23 -0500
committerJack Nagel2014-08-14 01:00:23 -0500
commit19e738db57a43550236722df5ed7bcf834e71c0c (patch)
tree24d0d9041bbd8350500980ea45329132e3c6d1f1 /Library/Homebrew/test
parent90a19a24542c27a1a3b11c77d009bd86b6896065 (diff)
downloadhomebrew-19e738db57a43550236722df5ed7bcf834e71c0c.tar.bz2
Use the as_flags method instead of map
Diffstat (limited to 'Library/Homebrew/test')
-rw-r--r--Library/Homebrew/test/test_tab.rb4
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",