During tests, the compiler is also reset to avoid insane cascade errors.

This commit is contained in:
Peter Camilleri 2014-11-20 16:13:02 -05:00
parent 79fc395703
commit f2a6386bf5

View file

@ -16,6 +16,7 @@ module XfOOrthTestExtensions
ensure
vm.debug = false
vm.interpreter_reset
vm.compiler_reset
end
#When the source is executed, does it raise err?
@ -33,6 +34,7 @@ module XfOOrthTestExtensions
ensure
vm.debug = false
vm.interpreter_reset
vm.compiler_reset
end
#When the source is executed, does the stdout match?
@ -47,6 +49,7 @@ module XfOOrthTestExtensions
end
ensure
vm.interpreter_reset
vm.compiler_reset
end
end