fix and test compiling classes

This commit is contained in:
Torsten Ruger
2015-07-19 10:36:06 +03:00
parent ae7350bd57
commit 0a09477dc6
3 changed files with 25 additions and 3 deletions

View File

@ -17,6 +17,18 @@ module Virtual
end
end
def test_module
@string_input = <<HERE
class Some
def foo()
5
end
end
HERE
@output = [[MethodEnter] ,[MethodReturn]]
check
end
def test_simplest_function
@string_input = <<HERE
def foo(x)