inlining references into objects as simple data

This commit is contained in:
Torsten Ruger
2014-08-18 14:54:03 +03:00
parent a874bd49d2
commit a594b716bc
3 changed files with 15 additions and 7 deletions

View File

@ -84,6 +84,6 @@ class BasicSof < MiniTest::Test
object = ObjectWithAttributes.new
object.extra = object
@out = Sof::Writer.write(object)
check "&1 #{OBJECT_STRING}\n :extra *1"
check "&1 ObjectWithAttributes(name: 'some name', number: 1234, extra: *1)"
end
end