diff options
author | Clyybber <darkmine956@gmail.com> | 2020-11-05 21:02:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-05 21:02:14 +0100 |
commit | d1bea1f71f0318f08ddd80b75706a602753b55d4 (patch) | |
tree | 9f6bfdb25f1f53686cb6c4aff8f22c063260b468 | |
parent | 3af7818af4bb541e24146fa8f8334cf7c0b53128 (diff) | |
download | Nim-d1bea1f71f0318f08ddd80b75706a602753b55d4.tar.gz |
Tiny unittest doc fix
-rw-r--r-- | lib/pure/unittest.nim | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/pure/unittest.nim b/lib/pure/unittest.nim index 617b8ab78..c0b2e7c1e 100644 --- a/lib/pure/unittest.nim +++ b/lib/pure/unittest.nim @@ -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. ## |