* 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:
parent
c4cc907433
commit
adde5ba6b0
1 changed files with 9 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue