diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-09-06 22:14:28 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-09-06 22:14:28 +0000 |
commit | 7ae76a9e6ba17c30cc049ccc3e796123675c72c2 () | |
tree | bfbbb0134fe7ba048b421ee2b7225e36932608b1 | |
parent | 929e0b91be4ddf58b5d0791f538862a872203f93 (diff) |
* test/ruby/test_parse.rb (TestParse): update a test not to use
recently fixed inconsistent syntax. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | test/ruby/test_parse.rb | 6 |
2 files changed, 6 insertions, 3 deletions
@@ -9,6 +9,9 @@ Sun Sep 7 01:07:10 2008 Yukihiro Matsumoto <[email protected]> * parse.y (yylex): "1.upto 2 {|i| p i }" should be syntax error. [ruby-dev:36008] Sun Sep 7 00:37:25 2008 Tanaka Akira <[email protected]> * include/ruby/encoding.h (ECONV_ERROR_HANDLER_MASK): defined. @@ -105,7 +105,7 @@ class TestParse < Test::Unit::TestCase a = nil assert_nothing_raised do t.instance_eval <<-END - a = bar "foo" { "bar" } END end assert_equal("foobar", a) @@ -113,7 +113,7 @@ class TestParse < Test::Unit::TestCase a = nil assert_nothing_raised do eval <<-END - a = t::bar "foo" { "bar" } END end assert_equal("foobar", a) @@ -260,7 +260,7 @@ class TestParse < Test::Unit::TestCase a = nil assert_nothing_raised do eval <<-END - o.foo 1 {|; a| a = 42 } END end assert_nil(a) |