test/test_haskell.rb in haskell-1.0.0 vs test/test_haskell.rb in haskell-1.0.1

- old
+ new

@@ -25,18 +25,18 @@ "} end private def assert_equal_execute(str, &block) - Haskell.invoke_sandbox! + Haskell.invoke_sandbox!(File.expand_path('../', __FILE__)) Haskell.compile(block.call) nil while Haskell.compiling? assert_equal str, Haskell.execute Haskell.revoke_sandbox! end def assert_raise_compile_error(&block) - Haskell.invoke_sandbox! + Haskell.invoke_sandbox!(File.expand_path('../', __FILE__)) Haskell.compile(block.call) nil while Haskell.compiling? # TODO: more prefer test rescue Haskell::HaskellCompileError assert(true)