I use them quite frequently in unittest {} blocks, if only to import
std.stdio to get why my unittests don't work :)

version(unittest) { private import std.stdio; }

^ Place this where you have your other imports and you don't have to import it in your unittest{} blocks.


Reply via email to