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:
parent
ed78271c49
commit
358216cf3f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user