diff options
author | tenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-03-30 03:52:07 +0000 |
---|---|---|
committer | tenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-03-30 03:52:07 +0000 |
commit | 089462f592b630110827fea6624f1890411627e0 (patch) | |
tree | c70e60891774faccdf3eee96c455efdd7eadf6d2 | |
parent | 9e448999a0b75c45bc3d02d7a3bd1077cae95b8d (diff) | |
download | ruby-089462f592b630110827fea6624f1890411627e0.tar.gz |
fixing syntax error in 1.8
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | test/psych/test_psych.rb | 2 |
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') |