Permalink
Browse files

sync with ruby-core

  • Loading branch information...
1 parent 363fad7 commit 9d431140d6159e97b964b623cfb4370ba0b8203d @tenderlove tenderlove committed Nov 29, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/psych/test_object_references.rb
@@ -28,7 +28,7 @@ def test_datetime_has_references
def assert_reference_trip obj
yml = Psych.dump([obj, obj])
- assert_match(/\*\d+/, yml)
+ assert_match(/\*-?\d+/, yml)
data = Psych.load yml
assert_equal data.first.object_id, data.last.object_id
end

0 comments on commit 9d43114

Please sign in to comment.