From 95bb19a57938b75a58169f816856be0cad4474b9 Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Mon, 30 May 2016 15:07:19 +0200 Subject: moved random procs from math to its own module (breaking change) --- lib/pure/unittest.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/pure/unittest.nim') 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) -- cgit 1.4.1-2-gfad0