June 21, 2004 unittest block, imports | ||||
---|---|---|---|---|
| ||||
unittest {
import std.random;
}
does not work. :(
I don't need std.random in this module, I just need it for my unittests.
Regan.
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
|
June 22, 2004 Re: unittest block, imports | ||||
---|---|---|---|---|
| ||||
Posted in reply to Regan Heath | "Regan Heath" <regan@netwin.co.nz> wrote in message news:opr9xbokja5a2sq9@digitalmars.com... > unittest { > import std.random; > } > > does not work. :( > > I don't need std.random in this module, I just need it for my unittests. > > Regan. > > -- > Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ I've run into this a few times. I think something needs to be done about it. Either what you tried, or something with version() maybe. |
Copyright © 1999-2021 by the D Language Foundation