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:
parent
ed78271c49
commit
358216cf3f
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue