aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew')
-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