aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/google-js-test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/google-js-test.rb')
-rw-r--r--Library/Formula/google-js-test.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/Library/Formula/google-js-test.rb b/Library/Formula/google-js-test.rb
index b28bf43be..3bce824dd 100644
--- a/Library/Formula/google-js-test.rb
+++ b/Library/Formula/google-js-test.rb
@@ -1,13 +1,11 @@
require 'formula'
class NeedsSnowLeopard < Requirement
+ satisfy MacOS.version >= :snow_leopard
+
def message
"Google JS Test requires Mac OS X 10.6 (Snow Leopard) or newer."
end
-
- def satisfied?
- MacOS.version >= :snow_leopard
- end
end
class GoogleJsTest < Formula