From b4880af0e2ec1738dbde5679e1ca48dd76b2ad7b Mon Sep 17 00:00:00 2001 From: Kevin Newton Date: Wed, 31 Jan 2024 13:53:17 -0500 Subject: [PATCH] [PRISM] Fix test_bug_reporter with prism --- test/-ext-/bug_reporter/test_bug_reporter.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/-ext-/bug_reporter/test_bug_reporter.rb b/test/-ext-/bug_reporter/test_bug_reporter.rb index fd043690ac..76f913c275 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/jit_support' class TestBugReporter < Test::Unit::TestCase def test_bug_reporter_add omit "flaky with RJIT" if JITSupport.rjit_enabled? - description = RUBY_DESCRIPTION + description = RUBY_DESCRIPTION.sub(/\+PRISM /, '') description = description.sub(/\+RJIT /, '') unless JITSupport.rjit_force_enabled? expected_stderr = [ :*,