summaryrefslogtreecommitdiff
path: root/test/parallel/test-http2-client-data-end.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-http2-client-data-end.js')
-rw-r--r--test/parallel/test-http2-client-data-end.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-http2-client-data-end.js b/test/parallel/test-http2-client-data-end.js
index 569979e73e..4366502963 100644
--- a/test/parallel/test-http2-client-data-end.js
+++ b/test/parallel/test-http2-client-data-end.js
@@ -82,7 +82,7 @@ server.listen(0, common.mustCall(() => {
let data = '';
req.setEncoding('utf8');
- req.on('data', common.mustCall((d) => data += d));
+ req.on('data', common.mustCallAtLeast((d) => data += d));
req.on('end', common.mustCall(() => {
assert.strictEqual(data, 'test');
maybeClose();