Skip to content

Commit

Permalink
Output what we expected and got it unittest.c
Browse files Browse the repository at this point in the history
  • Loading branch information
arr2036 committed Mar 18, 2014
1 parent d61c7d4 commit c084567
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/radattr.c
Original file line number Diff line number Diff line change
Expand Up @@ -650,8 +650,8 @@ static void process_file(const char *root_dir, char const *filename)

if (strncmp(p, "data ", 5) == 0) {
if (strcmp(p + 5, output) != 0) {
fprintf(stderr, "Mismatch in line %d of %s, expected: %s\n",
lineno, directory, output);
fprintf(stderr, "Mismatch in line %d of %s, got: %s expected: %s\n",
lineno, directory, output, p + 5);
exit(1);
}
continue;
Expand Down

0 comments on commit c084567

Please sign in to comment.