summaryrefslogtreecommitdiff
path: root/src/TestMode.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/TestMode.hs')
-rw-r--r--src/TestMode.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/TestMode.hs b/src/TestMode.hs
index 2ccf5a4..22481f4 100644
--- a/src/TestMode.hs
+++ b/src/TestMode.hs
@@ -84,7 +84,7 @@ runTestsC tests = do
Just LoadedModules {..} <- gets tmsModules
mbconfig <- asks tmiConfig
let opts = defaultTestOptions
- { optDefaultTool = fromMaybe "/bin/true" $ configTool =<< mbconfig
+ { optDefaultTool = fromMaybe (ToolPath "/bin/true") $ configTool =<< mbconfig
, optTestDir = ".test" <> show num
, optKeep = True
, optKeepGoing = True