garydgregory commented on code in PR #332:
URL: https://github.com/apache/commons-compress/pull/332#discussion_r1037734771
##########
src/test/java/org/apache/commons/compress/archivers/sevenz/SevenZOutputFileTest.java:
##########
@@ -546,8 +603,16 @@ private Boolean verifyFile(final SevenZFile archive, final
int index,
if (entry.getSize() == 0) {
return Boolean.FALSE;
}
- assertEquals(1, entry.getSize());
- assertEquals('A', archive.read());
+ assertEquals(size, entry.getSize());
+
+ byte[] actual = new byte[size];
+ int count = 0;
+ while(count < size) {
Review Comment:
Fix formatting `while (`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]