summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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