Skip to content

Commit

Permalink
Issue 11362 - Unit test assertion failure messages not printed
Browse files Browse the repository at this point in the history
Issue URL: http://d.puremagic.com/issues/show_bug.cgi?id=11362
Regression commit from pull #636: db7dc40
  • Loading branch information
denis-sh committed Oct 28, 2013
1 parent 330e19d commit 65f39b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/runtime.d
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ extern (C) bool runModuleUnitTests()
{
void printErr(const(char)[] buf)
{
.fprintf(.stderr, "%.s", cast(int)buf.length, buf.ptr);
.fprintf(.stderr, "%.*s", cast(int)buf.length, buf.ptr);
}

size_t failed = 0;
Expand Down

0 comments on commit 65f39b1

Please sign in to comment.