Fix for strict exceptions

This commit is contained in:
Tanguy 2022-06-16 13:28:28 +02:00
parent 26f31488a8
commit f180f596c8
No known key found for this signature in database
GPG Key ID: 7DD8EC6B6CE6C45E
1 changed files with 1 additions and 1 deletions

View File

@ -277,7 +277,7 @@ method suiteStarted*(formatter: OutputFormatter, suiteName: string) {.base, gcsa
method testStarted*(formatter: OutputFormatter, testName: string) {.base, gcsafe.} =
discard
method failureOccurred*(formatter: OutputFormatter, checkpoints: seq[string],
stackTrace: string) {.base, gcsafe.} =
stackTrace: string) {.base, gcsafe, raises: [Defect].} =
## ``stackTrace`` is provided only if the failure occurred due to an exception.
## ``checkpoints`` is never ``nil``.
discard