[前][次][番号順一覧][スレッド一覧]

ruby-changes:35845

From: nobu <ko1@a...>
Date: Wed, 15 Oct 2014 14:59:16 +0900 (JST)
Subject: [ruby-changes:35845] nobu:r47927 (trunk): test_rubyoptions.rb: split regexps

nobu	2014-10-15 14:59:11 +0900 (Wed, 15 Oct 2014)

  New Revision: 47927

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=47927

  Log:
    test_rubyoptions.rb: split regexps
    
    * test/ruby/test_rubyoptions.rb (SEGVTest::ExpectedStderrList):
      split backtrace information regexps.

  Modified files:
    trunk/test/ruby/test_rubyoptions.rb
Index: test/ruby/test_rubyoptions.rb
===================================================================
--- test/ruby/test_rubyoptions.rb	(revision 47926)
+++ test/ruby/test_rubyoptions.rb	(revision 47927)
@@ -531,7 +531,8 @@ class TestRubyOptions < Test::Unit::Test https://github.com/ruby/ruby/blob/trunk/test/ruby/test_rubyoptions.rb#L531
         -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

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]