summaryrefslogtreecommitdiff
path: root/test/ruby/test_parse.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_parse.rb')
-rw-r--r--test/ruby/test_parse.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/ruby/test_parse.rb b/test/ruby/test_parse.rb
index e372ff6367..e5c9b77ac1 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)