moved sod write method to module
This commit is contained in:
@ -7,7 +7,7 @@ class HelloTest < MiniTest::Test
|
||||
machine = Virtual::Machine.boot
|
||||
expressions = machine.compile_main @string_input
|
||||
machine.run_before "Register::CallImplementation"
|
||||
puts Sof::Writer.write(machine.space)
|
||||
puts Sof.write(machine.space)
|
||||
machine.run_after "Register::CallImplementation"
|
||||
|
||||
|
||||
|
@ -21,7 +21,7 @@ module VirtualHelper
|
||||
# with the class comes superclass and all methods
|
||||
expressions.first.type.instance_variable_set :@of_class , nil
|
||||
end
|
||||
is = Sof::Writer.write(expressions)
|
||||
is = Sof.write(expressions)
|
||||
#puts is
|
||||
is.gsub!("\n" , "*^*")
|
||||
assert_equal is , @output
|
||||
|
Reference in New Issue
Block a user