Make builtin tests more stand alone

not relying on the whole boot process
easier to test basic when broken (like now)
This commit is contained in:
2019-08-22 17:52:19 +03:00
parent 5dc8c046e7
commit c13d4fb017
16 changed files with 59 additions and 45 deletions

View File

@ -5,7 +5,7 @@ module Mom
class TestObjectInitRisc < BootTest
def setup
super
@method = get_compiler(:__init__)
@method = get_object_compiler(:__init__)
end
def test_compile
assert_equal Risc::MethodCompiler , @method.to_risc.class