summaryrefslogtreecommitdiff
path: root/test/psych
diff options
context:
space:
mode:
authortenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-03-30 03:52:07 +0000
committertenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-03-30 03:52:07 +0000
commit089462f592b630110827fea6624f1890411627e0 (patch)
treec70e60891774faccdf3eee96c455efdd7eadf6d2 /test/psych
parent9e448999a0b75c45bc3d02d7a3bd1077cae95b8d (diff)
fixing syntax error in 1.8
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/psych')
-rw-r--r--test/psych/test_psych.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/psych/test_psych.rb b/test/psych/test_psych.rb
index f59af4601f..99866998e0 100644
--- a/test/psych/test_psych.rb
+++ b/test/psych/test_psych.rb
@@ -99,7 +99,7 @@ class TestPsych < Psych::TestCase
def test_add_builtin_type
got = nil
- Psych.add_builtin_type 'omap', do |type, val|
+ Psych.add_builtin_type 'omap' do |type, val|
got = val
end
Psych.load('--- !!omap hello')