move one more test file

This commit is contained in:
Torsten Ruger 2017-01-14 20:10:34 +02:00
parent 2e62c5bbb6
commit 1c2b6d103c
5 changed files with 14 additions and 14 deletions

View File

@ -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

View File

@ -1,4 +1,3 @@
require_relative "test_type_collector"
require_relative "test_method_collector"
require_relative "test_locals_collector"
require_relative "test_class_creation"

View File

@ -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

View File

@ -1,3 +1,4 @@
require_relative "compilers/test_all"
require_relative "fragments/test_all"
require_relative "test_ruby_method"
require_relative "test_compiler"

View File

@ -1,7 +1,7 @@
require_relative "helper"
module Melon
class TestClass < MiniTest::Test
class TestCompiler < MiniTest::Test
def setup
Register.machine.boot