fix more disabled tests

This commit is contained in:
Torsten Ruger
2015-10-07 10:19:25 +03:00
parent 83ef902b55
commit 513bc8d7cf
3 changed files with 68 additions and 100 deletions

View File

@ -10,16 +10,6 @@ class CompilerTest < MiniTest::Test
res = Bosl::Compiler.compile( @expression )
assert res.is_a?(Virtual::Slot) , "compiler must compile to slot, not #{res.inspect}"
end
def ttest_if_expression
#TODO review constant : all expressions return a slot
@expression = s(:if,
s(:condition,
s(:int, 0)),
s(:if_true,
s(:int, 42)),
s(:if_false, nil))
check
end
def test_function_expression
@expression = s(:class, :Foo,
s(:derives, :Object),