diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2011-06-21 10:59:24 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2011-06-21 10:59:24 -0700 |
commit | 4e0e8dad05383f2eb210e246c8f2676f158be2cf (patch) | |
tree | 403e67a15ad090a0fe05b69a890409453fd38da3 /test | |
parent | ef6db4f2be11308b09193ac6f59057ab23aebf1a (diff) | |
download | psych-4e0e8dad05383f2eb210e246c8f2676f158be2cf.zip |
merge from ruby trunk
Diffstat (limited to 'test')
-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 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 |