fix weird object bug

This commit is contained in:
Torsten Ruger
2014-08-18 12:49:38 +03:00
parent a3c9ab7e29
commit 9f292ba618
6 changed files with 13 additions and 14 deletions

View File

@ -33,7 +33,7 @@ class BasicSof < MiniTest::Test
end
def test_object_extra_array
@out = Sof::Writer.write(ObjectWithAttributes.new.extra_array)
check "#{OBJECT_STRING}"
check "#{OBJECT_STRING}\n :extra -:sym\n -123"
end
def test_simple_array
@out = Sof::Writer.write([true, 1234])