inject testName

This commit is contained in:
Ștefan Talpalaru 2019-05-29 01:49:35 +02:00
parent 9434b711c6
commit 65f6fb7ef2
No known key found for this signature in database
GPG Key ID: CBF7934204F1B6F9
1 changed files with 1 additions and 0 deletions

View File

@ -591,6 +591,7 @@ template test*(name, body) =
if shouldRun(testSuiteName, testName):
checkpoints = @[]
var testStatusIMPL {.inject.} = OK
let testName {.inject.} = testName
testStarted(testName)