diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2016-05-30 15:07:19 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2016-05-30 16:24:52 +0200 |
commit | 95bb19a57938b75a58169f816856be0cad4474b9 (patch) | |
tree | 231479f42aa725c0e11d0502905b617cb1f630b0 /lib/pure/unittest.nim | |
parent | 5575cfd3ec6124fd0447b00b3edc40c0a25f79da (diff) | |
download | Nim-95bb19a57938b75a58169f816856be0cad4474b9.tar.gz |
moved random procs from math to its own module (breaking change)
Diffstat (limited to 'lib/pure/unittest.nim')
-rw-r--r-- | lib/pure/unittest.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/unittest.nim b/lib/pure/unittest.nim index aca9d51e2..b83ec44ca 100644 --- a/lib/pure/unittest.nim +++ b/lib/pure/unittest.nim @@ -310,7 +310,7 @@ macro expect*(exceptions: varargs[expr], body: stmt): stmt {.immediate.} = ## ## .. code-block:: nim ## - ## import math + ## import math, random ## proc defectiveRobot() = ## randomize() ## case random(1..4) |