use compiler base class for blocks too

can now go to mom level and add
test harness still looks overly complicated, but works
first block tests at mom level
This commit is contained in:
Torsten Ruger
2018-07-10 22:03:32 +03:00
parent a3e758357c
commit 27a142f2a3
4 changed files with 34 additions and 12 deletions

View File

@ -10,8 +10,8 @@ module VoolBlocks
@ins = compile_first_block( "local = 5")
end
def test_class_compiles
#assert_equal Mom::SlotLoad , @ins.class , @ins
def test_block_compiles
assert_equal Mom::SlotLoad , @ins.class , @ins
end
def pest_slot_is_set
assert @ins.left