From e66b51eb16a38bc70e1bcf44071d2c380b956365 Mon Sep 17 00:00:00 2001 From: Araq Date: Thu, 18 Oct 2018 14:25:39 +0200 Subject: [PATCH] make testament compile again with --taintMode:on --- testament/tester.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testament/tester.nim b/testament/tester.nim index 1142cc8c0..c48e4441d 100644 --- a/testament/tester.nim +++ b/testament/tester.nim @@ -313,7 +313,7 @@ proc testSpec(r: var TResults, test: TTest, target = targetC) = inc(r.total) return - if getEnv("NIM_COMPILE_TO_CPP", "false") == "true" and target == targetC and expected.targets == {}: + if getEnv("NIM_COMPILE_TO_CPP", "false").string == "true" and target == targetC and expected.targets == {}: expected.targets.incl(targetCpp) elif expected.targets == {}: expected.targets.incl(target)