* document #15618

* Update lib/pure/unittest.nim

* Update lib/pure/unittest.nim

Co-authored-by: Juan Carlos <juancarlospaco@gmail.com>

* Update lib/pure/unittest.nim

Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
Co-authored-by: Juan Carlos <juancarlospaco@gmail.com>
This commit is contained in:
flywind 2020-11-05 21:04:24 +08:00 • committed by GitHub
commit adde5ba6b0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -92,6 +92,15 @@
## discard v[4] ## discard v[4]
## ##
## echo "suite teardown: run once after the tests" ## echo "suite teardown: run once after the tests"
##
## Limitations/Bugs
## ================
## Since `check` will rewrite some programs for
## supporting checkpoints (namely assigns expressions to variables).
## Some type conversions are not supported.
## For example `check 4.0 == 2 + 2` won't work. But `doAssert 4.0 == 2 + 2` works.
## Make sure both sides of the operator (such as `==`, `>=` and so on) have the same type.
##
import std/private/since import std/private/since
import std/exitprocs import std/exitprocs