aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorBob W. Hogg2016-09-20 10:57:14 -0400
committerBob W. Hogg2016-09-22 08:31:50 -0400
commitfc1f4e41935c217361bd4bea0d12002fbc856939 (patch)
tree7410617d92b9d61795fdd7483b808100df7e9f62 /Library
parentd02c8a46dfcd3bbd12d43dc7e01c61850a470b64 (diff)
downloadbrew-fc1f4e41935c217361bd4bea0d12002fbc856939.tar.bz2
use newer ruby hash style
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/test/test_os_mac_dependency_collector.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/test/test_os_mac_dependency_collector.rb b/Library/Homebrew/test/test_os_mac_dependency_collector.rb
index 6175e8019..05b466c94 100644
--- a/Library/Homebrew/test/test_os_mac_dependency_collector.rb
+++ b/Library/Homebrew/test/test_os_mac_dependency_collector.rb
@@ -26,13 +26,13 @@ class OSMacDependencyCollectorTests < Homebrew::TestCase
def test_ant_dep_mavericks_or_newer
MacOS.stubs(:version).returns(MacOS::Version.new("10.9"))
- @d.add :ant => :build
+ @d.add ant: :build
assert_equal find_dependency("ant"), Dependency.new("ant", [:build])
end
def test_ant_dep_pre_mavericks
MacOS.stubs(:version).returns(MacOS::Version.new("10.7"))
- @d.add :ant => :build
+ @d.add ant: :build
assert_nil find_dependency("ant")
end
end