Skip to content

Commit

Permalink
Fix expected zip file length in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tdrwenski committed May 23, 2024
1 parent 7dee257 commit c41e2b4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public void shouldWriteZipToStream() throws IOException {

final ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
mFile.writeToStream(outputStream);
assertThat(outputStream.size()).isEqualTo(expectedSize * expectedNumberOfFiles);
assertThat(outputStream.size()).isEqualTo(mFile.getLength());
}
}
}
Expand Down

0 comments on commit c41e2b4

Please sign in to comment.