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

ruby-changes:17820

From: naruse <ko1@a...>
Date: Fri, 19 Nov 2010 14:11:43 +0900 (JST)
Subject: [ruby-changes:17820] Ruby:r29831 (trunk): Remove a test for reverted feature r26701.

naruse	2010-11-19 14:11:37 +0900 (Fri, 19 Nov 2010)

  New Revision: 29831

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

  Log:
    Remove a test for reverted feature r26701.

  Modified files:
    trunk/test/ruby/test_regexp.rb

Index: test/ruby/test_regexp.rb
===================================================================
--- test/ruby/test_regexp.rb	(revision 29830)
+++ test/ruby/test_regexp.rb	(revision 29831)
@@ -830,14 +830,6 @@
     assert_nothing_raised { eval("a = 1; /\#{ a }/o; a") }
   end
 
-  def test_optimize_last_anycharstar
-    s = "1" + " " * 5000000
-    assert_nothing_raised { s.match(/(\d) (.*)/) }
-    assert_equal("1", $1)
-    assert_equal(" " * 4999999, $2)
-    assert_match(/(?:A.+){2}/, 'AbAb')
-  end
-
   def test_invalid_fragment
     bug2547 = '[ruby-core:27374]'
     assert_raise(SyntaxError, bug2547) {eval('/#{"\\\\"}y/')}

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

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