From f2a6386bf565f93e7b85e0158a89cfce256f05ee Mon Sep 17 00:00:00 2001 From: Peter Camilleri Date: Thu, 20 Nov 2014 16:13:02 -0500 Subject: [PATCH] During tests, the compiler is also reset to avoid insane cascade errors. --- integration/support/foorth_testing.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/integration/support/foorth_testing.rb b/integration/support/foorth_testing.rb index 623ee10..f73657f 100644 --- a/integration/support/foorth_testing.rb +++ b/integration/support/foorth_testing.rb @@ -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 \ No newline at end of file