Skip to content

Commit

Permalink
Merge pull request #648 from denis-sh/fix-issue-11362
Browse files Browse the repository at this point in the history
Issue 11362 - Unit test assertion failure messages not printed
  • Loading branch information
WalterBright committed Oct 29, 2013
2 parents 330e19d + 65f39b1 commit 191b6e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/runtime.d
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 191b6e4

Please sign in to comment.