Skip to content

Commit

Permalink
output-on-failure
Browse files Browse the repository at this point in the history
  • Loading branch information
kuba-- committed Feb 17, 2024
1 parent ac305ed commit aa7cb04
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,4 @@ jobs:
- name: Test
run: |
cd build
ctest -VV -C "Debug"
ctest -VV -C "Debug" --output-on-failure
2 changes: 1 addition & 1 deletion test/test_open.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ MU_TEST(test_cstream_openwitherror) {
mu_check(zip == NULL);
mu_assert_int_eq(ZIP_ENOFILE, errnum);

ZIPFILE = fopen(ZIPNAME, "rw+");
ZIPFILE = fopen(ZIPNAME, "w");
zip = zip_cstream_openwitherror(ZIPFILE, ZIP_DEFAULT_COMPRESSION_LEVEL, 'w',
&errnum);
mu_check(zip != NULL);
Expand Down

0 comments on commit aa7cb04

Please sign in to comment.