From d868922ea8e68dc2292e351c8266ef3c3058bf1e Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Fri, 21 Mar 2025 15:17:15 +0900 Subject: [PATCH] Fix regexp when non-ruby thread received the signal A space is added only when the source path is found. --- test/ruby/test_rubyoptions.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/ruby/test_rubyoptions.rb b/test/ruby/test_rubyoptions.rb index f9997b5ee7..d7184f1057 100644 --- a/test/ruby/test_rubyoptions.rb +++ b/test/ruby/test_rubyoptions.rb @@ -791,7 +791,7 @@ class TestRubyOptions < Test::Unit::TestCase # see assert_pattern_list ExpectedStderrList = [ %r( - (?:-e:(?:1:)?)?\s\[BUG\]\sSegmentation\sfault.*\n + (?:-e:(?:1:)?\s)?\[BUG\]\sSegmentation\sfault.*\n )x, %r( #{ Regexp.quote(RUBY_DESCRIPTION) }\n\n