mirror of
https://github.com/PeterCamilleri/fOOrth
synced 2024-11-16 07:47:56 +01:00
During tests, the compiler is also reset to avoid insane cascade errors.
This commit is contained in:
parent
79fc395703
commit
f2a6386bf5
1 changed files with 3 additions and 0 deletions
|
@ -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
|
Loading…
Reference in a new issue