From 64518380a56b1a479f207e4e0c793c0c0539fde9 Mon Sep 17 00:00:00 2001 From: Araq Date: Mon, 3 Jun 2019 09:35:04 +0200 Subject: undeprecate system.programResult until we have a good solution at hand --- lib/pure/unittest.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/pure') diff --git a/lib/pure/unittest.nim b/lib/pure/unittest.nim index 60b20c5b8..a6104428d 100644 --- a/lib/pure/unittest.nim +++ b/lib/pure/unittest.nim @@ -551,7 +551,7 @@ template fail* = else: formatter.failureOccurred(checkpoints, "") - when not defined(ECMAScript): + when declared(programResult): if abortOnError: quit(programResult) checkpoints = @[] -- cgit 1.4.1-2-gfad0