1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

An address can be negative.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2011-11-27 05:20:31 +00:00
parent ed78271c49
commit 358216cf3f

View file

@ -28,7 +28,7 @@ module Psych
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