aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/test-bot.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/test-bot.rb b/Library/Homebrew/cmd/test-bot.rb
index b05dcb03c..fb51d07eb 100644
--- a/Library/Homebrew/cmd/test-bot.rb
+++ b/Library/Homebrew/cmd/test-bot.rb
@@ -632,7 +632,7 @@ module Homebrew
else
test "brew", "tests", "--no-compat"
readall_args = ["--aliases"]
- readall_args << "--syntax" if MacOS.version >= :mavericks
+ readall_args << "--syntax" if RUBY_VERSION.split(".").first.to_i >= 2
test "brew", "readall", *readall_args
test "brew", "update-test"
end