let spce keep the messages in a factory #14
Like Integers and addresses before, messages are now in a factory Factories keep allocated (uninitialised) objects, had to make init public to call it
This commit is contained in:
@ -5,7 +5,7 @@ module Parfait
|
||||
|
||||
def setup
|
||||
super
|
||||
@mess = @space.next_message
|
||||
@mess = @space.get_next_for(:Message)
|
||||
end
|
||||
def test_length
|
||||
assert_equal 9 , @mess.get_type.instance_length , @mess.get_type.inspect
|
||||
|
Reference in New Issue
Block a user