bit of cleaning
This commit is contained in:
2
test/vool/test_all.rb
Normal file
2
test/vool/test_all.rb
Normal file
@ -0,0 +1,2 @@
|
||||
require_relative "helper"
|
||||
require_relative "test_compiler"
|
@ -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
|
||||
|
Reference in New Issue
Block a user