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 | e55aafe74f477a9b27b04bd1824b501e20bb6e58 (patch) | |
tree | bfbbb0134fe7ba048b421ee2b7225e36932608b1 /test | |
parent | 1b94281531cb13396ece95b3d17ef409b5fa167b (diff) | |
download | ruby-e55aafe74f477a9b27b04bd1824b501e20bb6e58.tar.gz ruby-e55aafe74f477a9b27b04bd1824b501e20bb6e58.tar.xz ruby-e55aafe74f477a9b27b04bd1824b501e20bb6e58.zip |
* test/ruby/test_parse.rb (TestParse): update a test not to use
recently fixed inconsistent syntax.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_parse.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/ruby/test_parse.rb b/test/ruby/test_parse.rb index e372ff636..e5c9b77ac 100644 --- a/test/ruby/test_parse.rb +++ b/test/ruby/test_parse.rb @@ -105,7 +105,7 @@ class TestParse < Test::Unit::TestCase 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 @@ class TestParse < Test::Unit::TestCase 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 @@ class TestParse < Test::Unit::TestCase 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) |