Skip to content

Commit a4f00a0

Browse files
committed
Fixed infinite loop of MultipartBodyTest for master branch.
1 parent e4c5c77 commit a4f00a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/src/test/java/org/asynchttpclient/multipart/MultipartBodyTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ private static void compareContentLength(final List<Part> parts) {
9191
} catch (IOException ie) {
9292
Assert.fail("read failure");
9393
}
94-
if (readBytes >= 0) {
94+
if (readBytes > 0) {
9595
totalBytes += readBytes;
9696
} else {
9797
last = true;

0 commit comments

Comments
 (0)