move one more test file
This commit is contained in:
parent
2e62c5bbb6
commit
1c2b6d103c
@ -1,13 +1 @@
|
||||
require_relative '../helper'
|
||||
|
||||
module Melon
|
||||
module CompilerHelper
|
||||
def in_Space(statements)
|
||||
"class Space ; #{statements} ; end"
|
||||
end
|
||||
|
||||
def as_main(statements)
|
||||
in_Space("def main ; #{statements}; end")
|
||||
end
|
||||
end
|
||||
end
|
||||
|
@ -1,4 +1,3 @@
|
||||
require_relative "test_type_collector"
|
||||
require_relative "test_method_collector"
|
||||
require_relative "test_locals_collector"
|
||||
require_relative "test_class_creation"
|
||||
|
@ -1 +1,13 @@
|
||||
require_relative '../helper'
|
||||
|
||||
module Melon
|
||||
module CompilerHelper
|
||||
def in_Space(statements)
|
||||
"class Space ; #{statements} ; end"
|
||||
end
|
||||
|
||||
def as_main(statements)
|
||||
in_Space("def main ; #{statements}; end")
|
||||
end
|
||||
end
|
||||
end
|
||||
|
@ -1,3 +1,4 @@
|
||||
require_relative "compilers/test_all"
|
||||
require_relative "fragments/test_all"
|
||||
require_relative "test_ruby_method"
|
||||
require_relative "test_compiler"
|
||||
|
@ -1,7 +1,7 @@
|
||||
require_relative "helper"
|
||||
|
||||
module Melon
|
||||
class TestClass < MiniTest::Test
|
||||
class TestCompiler < MiniTest::Test
|
||||
|
||||
def setup
|
||||
Register.machine.boot
|
Loading…
Reference in New Issue
Block a user