fixes references
only writes references out once (was broken) and only the first occurrence in write order
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
require_relative "test_basic"
|
||||
require_relative "test_object"
|
||||
require_relative "test_ext"
|
||||
require_relative "test_refs"
|
||||
|
@ -57,6 +57,6 @@ class ObjectSof < MiniTest::Test
|
||||
object.extra = ObjectWithAttributes
|
||||
ar = [object , ObjectWithAttributes]
|
||||
@out = ar
|
||||
check "-ObjectWithAttributes(:name => 'some name', :number => 1234, :extra => *1)\n-&1 ObjectWithAttributes"
|
||||
check "-ObjectWithAttributes(:name => 'some name', :number => 1234, :extra => &1 ObjectWithAttributes)\n-*1"
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user