Skip to content

Commit d868922

Browse files
committed
Fix regexp when non-ruby thread received the signal
A space is added only when the source path is found.
1 parent edabdd9 commit d868922

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/ruby/test_rubyoptions.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -791,7 +791,7 @@ module SEGVTest
791791
# see assert_pattern_list
792792
ExpectedStderrList = [
793793
%r(
794-
(?:-e:(?:1:)?)?\s\[BUG\]\sSegmentation\sfault.*\n
794+
(?:-e:(?:1:)?\s)?\[BUG\]\sSegmentation\sfault.*\n
795795
)x,
796796
%r(
797797
#{ Regexp.quote(RUBY_DESCRIPTION) }\n\n

0 commit comments

Comments
 (0)