fix all tests for previous commit

This commit is contained in:
Torsten Ruger
2019-02-08 23:03:23 +02:00
parent 74b790250a
commit 37eeb81f45
71 changed files with 117 additions and 94 deletions

View File

@ -7,7 +7,8 @@ module Risc
include ScopeHelper
def setup
@linker = RubyX::RubyXCompiler.new.ruby_to_binary(@string_input, :interpreter)
compiler = RubyX::RubyXCompiler.new(RubyX.default_test_options)
@linker = compiler.ruby_to_binary(@string_input, :interpreter)
@interpreter = Interpreter.new(@linker)
@interpreter.start_program
end