aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/test')
-rw-r--r--Library/Homebrew/test/test_diagnostic.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Homebrew/test/test_diagnostic.rb b/Library/Homebrew/test/test_diagnostic.rb
index ef82da6dc..0e0d110e7 100644
--- a/Library/Homebrew/test/test_diagnostic.rb
+++ b/Library/Homebrew/test/test_diagnostic.rb
@@ -226,4 +226,9 @@ class DiagnosticChecksTest < Homebrew::TestCase
end
end
end
+
+ def test_check_for_beta_xquartz
+ MacOS::XQuartz.stubs(:version).returns("2.7.10_beta2")
+ assert_match "The following beta release of XQuartz is installed: 2.7.10_beta2", @checks.check_for_beta_xquartz
+ end
end