Skip to content

Commit

Permalink
Tiny unittest doc fix
Browse files Browse the repository at this point in the history
(cherry picked from commit d1bea1f)
  • Loading branch information
Clyybber authored and narimiran committed Nov 9, 2020
1 parent 1c027d5 commit 554a9ad
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/pure/unittest.nim
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,8 @@
##
## Limitations/Bugs
## ================
## Since `check` will rewrite some programs for
## supporting checkpoints (namely assigns expressions to variables).
## Some type conversions are not supported.
## Since `check` will rewrite some expressions 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.
##
Expand Down

0 comments on commit 554a9ad

Please sign in to comment.