use format int unittest

okeyes via Digitalmars-d-ide digitalmars-d-ide at puremagic.com
Sat Mar 18 06:54:22 PDT 2017


visual studio 2013,visuald0.44.1 dmd2.073.2

code like this

import std.stdio;
import std.string;

int main(string[] argv)
{
     writeln("Hello D-World!");
     return 0;
}

unittest
{
	string str=format("test format %d",1);
	writeln(str);
}


when debugger ,getting wrong.

when change Debugger"Mago" to "Visual Studio",is OK


More information about the Digitalmars-d-ide mailing list