aboutsummaryrefslogtreecommitdiffstats
path: root/test/psych/test_nil.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/psych/test_nil.rb')
-rw-r--r--test/psych/test_nil.rb2
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