fix the statement moming
This commit is contained in:
@ -16,5 +16,8 @@ module RubyX
|
||||
def test_method
|
||||
assert_equal :main , @linker.assemblers.first.callable.name
|
||||
end
|
||||
def test_asm_len
|
||||
assert_equal 23 , @linker.assemblers.length
|
||||
end
|
||||
end
|
||||
end
|
||||
|
@ -28,8 +28,9 @@ module RubyX
|
||||
compiler = RubyXCompiler.new
|
||||
compiler.ruby_to_vool(space_source_for("main"))
|
||||
compiler.ruby_to_vool(space_source_for("twain"))
|
||||
# linker = compiler.to_binary(:interpreter)
|
||||
# assert_equal Vool::ScopeStatement , linker.class
|
||||
linker = compiler.to_binary(:interpreter)
|
||||
assert_equal Risc::Linker , linker.class
|
||||
assert_equal 24 , linker.assemblers.length
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user