Skip to content

Commit 31c79a8

Browse files
committed
quic: Fix blob test, as the value may be time dependent
1 parent f0aae82 commit 31c79a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-blob.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ assert.throws(() => new Blob({}), {
341341
// it should pull in the next 'hello' which is 5 bytes hence -5.
342342
// but recently, we coalesce if possible adjacent memory
343343
// the test code is adapted to the current limit for coalescing
344-
assert.strictEqual(stream[kState].controller.desiredSize, 0);
344+
assert.ok(stream[kState].controller.desiredSize <= 0);
345345
}), 0);
346346
})().then(common.mustCall());
347347

0 commit comments

Comments
 (0)