Skip to content

Commit

Permalink
Merge pull request #196 from ctabin/fix-win-comp-test
Browse files Browse the repository at this point in the history
Fixes WIN32 compilation
  • Loading branch information
ctabin authored Apr 30, 2023
2 parents a576d82 + 11af416 commit 1934adf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,9 @@ void test19() {
file.open("empty", std::ios_base::out | std::ios_base::binary);
int ret = z2.readEntry(entry2, file);
assert(ret == LIBZIPPP_OK);
#ifndef _WIN32
assert(file.tellp() == 0);
#endif
file.close();
remove("empty");

Expand Down

0 comments on commit 1934adf

Please sign in to comment.