better name for cool compile

This commit is contained in:
Torsten Ruger
2018-03-12 17:23:16 +05:30
parent 5fe0ba06ab
commit d910c02b4a
6 changed files with 17 additions and 17 deletions

View File

@ -22,7 +22,7 @@ module MomCompile
include CompilerHelper
def compile_first_method input
lst = Vool::VoolCompiler.compile as_test_main( input )
lst = Vool::VoolCompiler.ruby_to_vool as_test_main( input )
assert_equal Parfait::Class , lst.clazz.class , input
@method = lst.clazz.get_method(:main)
assert_equal Parfait::VoolMethod , @method.class