Skip to content

Commit 191b6e4

Browse files
committed
Merge pull request #648 from denis-sh/fix-issue-11362
Issue 11362 - Unit test assertion failure messages not printed
2 parents 330e19d + 65f39b1 commit 191b6e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/runtime.d

+1-1
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ extern (C) bool runModuleUnitTests()
385385
{
386386
void printErr(const(char)[] buf)
387387
{
388-
.fprintf(.stderr, "%.s", cast(int)buf.length, buf.ptr);
388+
.fprintf(.stderr, "%.*s", cast(int)buf.length, buf.ptr);
389389
}
390390

391391
size_t failed = 0;

0 commit comments

Comments
 (0)