Use macos? helper

This commit is contained in:
Hiroshi SHIBATA 2024-09-11 16:52:26 +09:00
parent 74c3259ce7
commit baac5376da
No known key found for this signature in database
GPG Key ID: F9CF13417264FAC2

View File

@ -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