Fix the not-a-constructor test for Math.f16round()

Previously, this was using Math.fround() instead of the f16 version.
This commit is contained in:
rmg-x 2024-11-12 07:11:17 -06:00 committed by Ms2ger
parent 5c8a66d34b
commit 8eee4552a7
1 changed files with 1 additions and 1 deletions

View File

@ -12,5 +12,5 @@ features: [Float16Array, Reflect.construct]
assert(!isConstructor(Math.f16round), "Math.f16round is not a constructor");
assert.throws(TypeError, function () {
new Math.fround();
new Math.f16round();
});