summaryrefslogtreecommitdiff
path: root/test/psych/test_merge_keys.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/psych/test_merge_keys.rb')
-rw-r--r--test/psych/test_merge_keys.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/psych/test_merge_keys.rb b/test/psych/test_merge_keys.rb
index 08ffe58fa8a..24f2d6263d1 100644
--- a/test/psych/test_merge_keys.rb
+++ b/test/psych/test_merge_keys.rb
@@ -117,7 +117,7 @@ development:
bar:
<< : *foo
eoyml
- exp = assert_raises(Psych::BadAlias) { Psych.load yaml }
+ exp = assert_raise(Psych::BadAlias) { Psych.load yaml }
assert_match 'foo', exp.message
end