Files
node/test/parallel
Sungwon ba8e95a785 test: use mustSucceed in test-fs-read
This commit refactors the callback in test/parallel/test-fs-read.js
to use common.mustSucceed() instead of common.mustCall().

common.mustSucceed() is the preferred helper for standard error-first
callbacks that are expected to succeed, as it provides an explicit
check that the `err` argument is null. This improves the clarity
and robustness of the test.

PR-URL: https://github.com/nodejs/node/pull/59204
Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2025-07-27 23:52:53 +02:00
..
2025-06-23 12:11:07 -03:00
2025-07-21 10:59:01 +02:00