still finding index errors

This commit is contained in:
Torsten Ruger
2015-10-27 18:45:56 +02:00
parent 444ad75e1e
commit 79cf59c4e2
3 changed files with 7 additions and 2 deletions

View File

@ -31,6 +31,10 @@ class TestMessage < MiniTest::Test
@mess.push :name
assert_equal 1 , @mess.internal_object_get(9)
end
def test_get_internal
@mess.push :name
assert_equal :name , @mess.internal_object_get(10)
end
def test_get
index = @mess.push :name