get method name out from method_missing

This commit is contained in:
2019-09-17 20:18:00 +03:00
parent d58ed8e5e8
commit e56db0a3ac
9 changed files with 31 additions and 16 deletions

View File

@ -14,7 +14,7 @@ module Mom
assert_equal Risc::MethodCompiler , @method.to_risc.class
end
def test_risc_length
assert_equal 14 , @method.to_risc.risc_instructions.length
assert_equal 15 , @method.to_risc.risc_instructions.length
end
end
end