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

ruby-changes:30300

From: naruse <ko1@a...>
Date: Sat, 3 Aug 2013 17:00:48 +0900 (JST)
Subject: [ruby-changes:30300] naruse:r42352 (trunk): Fix test failure to follow r42347 ref #3753

naruse	2013-08-03 16:57:34 +0900 (Sat, 03 Aug 2013)

  New Revision: 42352

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

  Log:
    Fix test failure to follow r42347 ref #3753

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

Index: test/ruby/test_parse.rb
===================================================================
--- test/ruby/test_parse.rb	(revision 42351)
+++ test/ruby/test_parse.rb	(revision 42352)
@@ -752,13 +752,7 @@ x = __ENCODING__ https://github.com/ruby/ruby/blob/trunk/test/ruby/test_parse.rb#L752
       eval %q(1; next; 2)
     end
 
-    o = Object.new
-    assert_nothing_raised do
-      eval <<-END, nil, __FILE__, __LINE__+1
-        x = def o.foo; end
-      END
-    end
-    assert_equal(14, $stderr.string.lines.to_a.size)
+    assert_equal(13, $stderr.string.lines.to_a.size)
     $stderr = stderr
   end
 

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

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