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