Skip to content

Commit a15bfda

Browse files
Trotttargos
authored andcommitted
test: remove string literal message from assertion
Remove string literal message in assert.strictEqual() call in napi test testFinalizer.js. Backport-PR-URL: #22912 PR-URL: #22849 Reviewed-By: Teddy Katz <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent e580a44 commit a15bfda

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/addons-napi/test_general/testFinalizer.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,4 @@ test_general.wrap(finalizeAndWrap);
2929
test_general.addFinalizerOnly(finalizeAndWrap, common.mustCall());
3030
finalizeAndWrap = null;
3131
global.gc();
32-
assert.strictEqual(test_general.derefItemWasCalled(), true,
33-
'finalize callback was called');
32+
assert.strictEqual(test_general.derefItemWasCalled(), true);

0 commit comments

Comments
 (0)