Skip to content

Commit

Permalink
Use TEST_ERR as suggested by @sreimers
Browse files Browse the repository at this point in the history
  • Loading branch information
larsimmisch committed Nov 20, 2023
1 parent f9cb679 commit 2478eae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/aulength.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ int test_aulength(void)

int err = aufile_open(&af, &prm, path, AUFILE_READ);
if (err)
return err;
TEST_ERR(err);

size_t length = aufile_get_length(af, &prm);
TEST_EQUALS(67, length);
Expand Down

0 comments on commit 2478eae

Please sign in to comment.