rename locals from type to role in message

This commit is contained in:
Torsten Ruger
2016-12-21 19:01:42 +02:00
parent 0e99ff33ae
commit ed12108425
8 changed files with 9 additions and 9 deletions

View File

@ -3,7 +3,7 @@ require_relative "../helper"
class TestNamedLists < MiniTest::Test
def setup
@named_list = Register.machine.boot.space.first_message.named_list
@named_list = Register.machine.boot.space.first_message.locals
@type = @named_list.get_type
end

View File

@ -60,7 +60,7 @@ class TestSpace < MiniTest::Test
all = []
while mess
all << mess
assert mess.named_list
assert mess.locals
mess = mess.next_message
end
assert_equal all.length , all.uniq.length