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 82906f0af6..2812fd1bd8 100644
--- a/test/psych/test_psych.rb
+++ b/test/psych/test_psych.rb
@@ -146,7 +146,7 @@ class TestPsych < Psych::TestCase
def test_load_file_with_fallback
Tempfile.create(['empty', 'yml']) {|t|
- assert_equal Hash.new, Psych.load_file(t.path, Hash.new)
+ assert_equal Hash.new, Psych.load_file(t.path, fallback: Hash.new)
}
end