summaryrefslogtreecommitdiff
path: root/test/psych/test_psych.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/psych/test_psych.rb')
-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')