summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <[email protected]>2025-03-19 15:08:20 +0900
committerNobuyoshi Nakada <[email protected]>2025-03-19 15:08:20 +0900
commit6c7f721f1eaaba75c624b5a84d2c7ace30a96b2f (patch)
tree488bf91ce0ea8fedef4e4a5bdd2c4e7b70084a7a
parent3eb802fb562cbb29ec1ede64f6df70719fc8f144 (diff)
Source path may or may not exist
-rw-r--r--test/ruby/test_rubyoptions.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_rubyoptions.rb b/test/ruby/test_rubyoptions.rb
index 2e6b370f5b..6b6361b24e 100644
--- a/test/ruby/test_rubyoptions.rb
+++ b/test/ruby/test_rubyoptions.rb
@@ -789,7 +789,7 @@ class TestRubyOptions < Test::Unit::TestCase
ExpectedStderrList = [
%r(
- \[BUG\]\sSegmentation\sfault.*\n
+ (?:-e:(?:1:)?)?\s\[BUG\]\sSegmentation\sfault.*\n
)x,
%r(
#{ Regexp.quote(RUBY_DESCRIPTION) }\n\n