Fixed one mistake.

This commit is contained in:
Pietro Gagliardi 2019-06-02 02:04:20 -04:00
parent 3f4765d116
commit b5e8b76066
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ void catchProgrammerError(const char *prefix, const char *msg, const char *suffi
if (internal) if (internal)
testingTErrorfFull(errorParams.t, errorParams.file, errorParams.line, "%s error is marked internal; should not have been", errorParams.exprstr); testingTErrorfFull(errorParams.t, errorParams.file, errorParams.line, "%s error is marked internal; should not have been", errorParams.exprstr);
if (strstr(msg, errorParams.msgWant) == NULL) 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); errorParams.exprstr, msg, errorParams.msgWant);
} }