ruby-changes:7679
From: matz <ko1@a...>
Date: Sun, 7 Sep 2008 07:14:45 +0900 (JST)
Subject: [ruby-changes:7679] Ruby:r19200 (trunk): * test/ruby/test_parse.rb (TestParse): update a test not to use
matz 2008-09-07 07:14:28 +0900 (Sun, 07 Sep 2008) New Revision: 19200 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=19200 Log: * test/ruby/test_parse.rb (TestParse): update a test not to use recently fixed inconsistent syntax. Modified files: trunk/ChangeLog trunk/test/ruby/test_parse.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 19199) +++ ChangeLog (revision 19200) @@ -9,6 +9,9 @@ * parse.y (yylex): "1.upto 2 {|i| p i }" should be syntax error. [ruby-dev:36008] + * test/ruby/test_parse.rb (TestParse): update a test not to use + recently fixed inconsistent syntax. + Sun Sep 7 00:37:25 2008 Tanaka Akira <akr@f...> * include/ruby/encoding.h (ECONV_ERROR_HANDLER_MASK): defined. Index: test/ruby/test_parse.rb =================================================================== --- test/ruby/test_parse.rb (revision 19199) +++ test/ruby/test_parse.rb (revision 19200) @@ -105,7 +105,7 @@ a = nil assert_nothing_raised do t.instance_eval <<-END - a = bar "foo" { "bar" } + a = bar "foo" do "bar" end END end assert_equal("foobar", a) @@ -113,7 +113,7 @@ a = nil assert_nothing_raised do eval <<-END - a = t::bar "foo" { "bar" } + a = t::bar "foo" do "bar" end END end assert_equal("foobar", a) @@ -260,7 +260,7 @@ a = nil assert_nothing_raised do eval <<-END - o.foo 1 {|; a| a = 42 } + o.foo 1 do|; a| a = 42 end END end assert_nil(a) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/