diff --git a/test/main.c b/test/main.c index 520180ff..f7855bf3 100644 --- a/test/main.c +++ b/test/main.c @@ -16,7 +16,7 @@ void catchProgrammerError(const char *prefix, const char *msg, const char *suffi if (internal) testingTErrorfFull(errorParams.t, errorParams.file, errorParams.line, "%s error is marked internal; should not have been", errorParams.exprstr); if (strstr(msg, errorParams.msgWant) == NULL) - testingTErrorf(errorParams.t, errorParams.file, errorParams.line, "%s: message doesn't contain expected substring:" diff("%s"), + testingTErrorfFull(errorParams.t, errorParams.file, errorParams.line, "%s: message doesn't contain expected substring:" diff("%s"), errorParams.exprstr, msg, errorParams.msgWant); }