bit of cleaning

This commit is contained in:
Torsten Ruger
2017-04-02 18:25:30 +03:00
parent 539ab692a3
commit ac7b9138ff
5 changed files with 24 additions and 16 deletions

2
test/vool/test_all.rb Normal file
View File

@ -0,0 +1,2 @@
require_relative "helper"
require_relative "test_compiler"

View File

@ -5,10 +5,10 @@ module Vool
# "free standing" local can not be tested as it will result in send
# in other words ther is no way of knowing if a name is variable or method
def ptest_send_to_local
lst = Compiler.compile( "foo = 1 ; foo.bar")
assert_equal LocalVariable , lst.receiver
end
# def test_send_to_local
# lst = Compiler.compile( "foo.bar")
# assert_equal SendStatement , lst.class
# end
end
end