Skip to content

Commit c7493fa

Browse files
targosRafaelGSS
authored andcommitted
Revert "test: disable fast API call count checks"
This reverts commit 6857dbc. PR-URL: #58070 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Rafael Gonzaga <[email protected]>
1 parent 50a8527 commit c7493fa

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/parallel/test-buffer-write-fast.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,5 @@ testFastUtf8Write();
4141

4242
if (common.isDebug) {
4343
const { getV8FastApiCallCount } = internalBinding('debug');
44-
// TODO: the count should be 4. The function is optimized, but the fast
45-
// API is not called.
46-
assert.strictEqual(getV8FastApiCallCount('buffer.writeString'), 0);
44+
assert(getV8FastApiCallCount('buffer.writeString'), 4);
4745
}

0 commit comments

Comments
 (0)