unlinking the objects collection from the machine
passing it around instead
This commit is contained in:
@ -8,8 +8,8 @@ module Register
|
||||
end
|
||||
|
||||
def test_collect_all_types
|
||||
@machine.collect_space
|
||||
@machine.objects.each do |id, objekt|
|
||||
objects = @machine.collect_space
|
||||
objects.each do |id, objekt|
|
||||
next unless objekt.is_a?( Parfait::Type )
|
||||
assert Parfait.object_space.get_type_for( objekt.hash ) , objekt.hash
|
||||
end
|
||||
|
Reference in New Issue
Block a user