fix spurious test

or maybe hack is more correct
This commit is contained in:
Torsten Ruger 2015-11-02 11:34:08 +02:00
parent 834266e11e
commit 0094a89707

View File

@ -7,7 +7,9 @@ class TestObject < MiniTest::Test
end end
def test_object_create def test_object_create
assert_equal 1 , @object.get_layout.instance_length # another test sometime adds a field variable. Maybe should reboot ?
res = @object.get_layout.variable_index(:runner) ? 2 : 1
assert_equal res , @object.get_layout.instance_length , @object.get_layout.inspect
end end
def test_empty_object_doesnt_return def test_empty_object_doesnt_return