diff options
Diffstat (limited to 'test/psych')
-rw-r--r-- | test/psych/test_nil.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/psych/test_nil.rb b/test/psych/test_nil.rb index 9b54a030c8..f3d9c5e8d8 100644 --- a/test/psych/test_nil.rb +++ b/test/psych/test_nil.rb @@ -4,7 +4,7 @@ module Psych class TestNil < TestCase def test_nil yml = Psych.dump nil - assert_equal "--- \n...\n", yml + assert_match /--- \n(?:\.\.\.\n)?/, yml assert_equal nil, Psych.load(yml) end |