From 4e0e8dad05383f2eb210e246c8f2676f158be2cf Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Tue, 21 Jun 2011 10:59:24 -0700 Subject: merge from ruby trunk --- test/psych/test_nil.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/psych/test_nil.rb b/test/psych/test_nil.rb index 9b54a03..f3d9c5e 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 -- cgit v1.2.3