summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroshi SHIBATA <[email protected]>2024-09-11 16:52:26 +0900
committerHiroshi SHIBATA <[email protected]>2024-09-11 18:13:01 +0900
commitbaac5376da6a836397745056b1e2d4f9f5dbac7b (patch)
treeb4566ffdc169ff81be5b056198eb90fc3b66f8c2
parent74c3259ce70ae51ca79dea1e607a0284f8d129cf (diff)
Use macos? helper
-rw-r--r--test/-ext-/bug_reporter/test_bug_reporter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/-ext-/bug_reporter/test_bug_reporter.rb b/test/-ext-/bug_reporter/test_bug_reporter.rb
index 8c810c2741..c7b2a5b370 100644
--- a/test/-ext-/bug_reporter/test_bug_reporter.rb
+++ b/test/-ext-/bug_reporter/test_bug_reporter.rb
@@ -6,7 +6,7 @@ require_relative '../../lib/parser_support'
class TestBugReporter < Test::Unit::TestCase
def test_bug_reporter_add
- pend "macOS 15 beta is not working with this test" if /darwin/ =~ RUBY_PLATFORM && /15/ =~ `sw_vers -productVersion`
+ pend "macOS 15 beta is not working with this test" if macos?(15)
omit "flaky with RJIT" if JITSupport.rjit_enabled?
description = RUBY_DESCRIPTION