diff --git a/test/parallel/test-fs-buffer.js b/test/parallel/test-fs-buffer.js index 48cf764b2623b5..e7f575a437555e 100644 --- a/test/parallel/test-fs-buffer.js +++ b/test/parallel/test-fs-buffer.js @@ -38,7 +38,7 @@ fs.readdir(dir, 'hex', common.mustCall((err, hexList) => { assert.strictEqual( fromHexList, val, - `${hexList[idx]} is hex value for ${fromHexList} and not ${val}` + `expected ${val}, got ${fromHexList} by hex decoding ${hexList[idx]}` ); }); }));