fixed some interpreter tests
hoisting is slightly more simple and that adds a couple insstructions
This commit is contained in:
@ -19,7 +19,7 @@ module Risc
|
||||
ticks( start_at ) if start_at > 0
|
||||
should.each_with_index do |name , index|
|
||||
got = ticks(1)
|
||||
assert_equal got.class ,name , "Wrong class for #{index + 1 - start_at}, expect #{name} , got #{got}"
|
||||
assert_equal got.class ,name , "Wrong class for #{index + 1}, expect #{name} , got #{got}"
|
||||
end
|
||||
end
|
||||
# check the main only, ignoring the __init instructions
|
||||
|
Reference in New Issue
Block a user