Fix another format mismatch error in char_strings runtime test
This commit is contained in:
parent
799fd7a5be
commit
b88df82c55
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue