Fails to use testFilename in unittest

biocyberman via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu May 18 02:56:36 PDT 2017


On Thursday, 18 May 2017 at 09:49:26 UTC, Jonathan M Davis wrote:
> On Thursday, May 18, 2017 09:40:33 biocyberman via 
> Digitalmars-d-learn wrote:
>> [...]
>
> Actually, it's not used all over the place in Phobos. It's only 
> used std.stdio, where it's a private function in a 
> version(unittest) block. It's not part of the public API. And 
> other modules that need something similar have their own 
> solution.
>
> [...]

That's exactly the code  I looked at. And yes, I checked 
std.stdio to see many occurrences of testFilename.


More information about the Digitalmars-d-learn mailing list