summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-10-15 05:59:11 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-10-15 05:59:11 +0000
commite02c5f346fd54d9183aaba3eab517bcf7a0613f1 (patch)
tree841b8748acea0d924f26a2525647519c0df44f63 /test/ruby
parentefaed8c80d12e5f2be76f0c6b25bd3aba180c97c (diff)
test_rubyoptions.rb: split regexps
* test/ruby/test_rubyoptions.rb (SEGVTest::ExpectedStderrList): split backtrace information regexps. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_rubyoptions.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/ruby/test_rubyoptions.rb b/test/ruby/test_rubyoptions.rb
index 7967415ec5..f94bbb3459 100644
--- a/test/ruby/test_rubyoptions.rb
+++ b/test/ruby/test_rubyoptions.rb
@@ -531,7 +531,8 @@ class TestRubyOptions < Test::Unit::TestCase
-e:1:in\s\`<main>\'\n
-e:1:in\s\`kill\'\n
)?
- \n
+ )x,
+ %r(
(?:
--\sC\slevel\sbacktrace\sinformation\s-------------------------------------------\n
(?:(?:.*\s)?\[0x\h+\]\n)*\n