Fix another format mismatch error in char_strings runtime test

This commit is contained in:
Vadim Zeitlin 2022-09-17 17:39:04 +02:00
commit b88df82c55

View file

@ -116,7 +116,7 @@ int main() {
sprintf(ping, "%s%d", OTHERLAND_MSG, i);
char *pong = char_strings_CharPingPong(ping);
if (strcmp(ping, pong) != 0) {
fprintf(stderr, "Test PingPong 1 failed.\nExpected:%d\nReceived:%d\n", ping, pong);
fprintf(stderr, "Test PingPong 1 failed.\nExpected:%s\nReceived:%s\n", ping, pong);
exit(1);
}
}