adds instance assignment to vool

This commit is contained in:
Torsten Ruger
2017-04-04 18:10:28 +03:00
parent 73964aeb6e
commit d6e346d9c0
3 changed files with 23 additions and 14 deletions

View File

@ -12,5 +12,14 @@ module Vool
assert_equal :foo , lst.name
end
def test_instance
lst = Compiler.compile( "@foo = bar")
assert_equal InstanceAssignment , lst.class
end
def test_instance_name
lst = Compiler.compile( "@foo = bar")
assert_equal :foo , lst.name
end
end
end