Skip to content

Commit

Permalink
Fix the not-a-constructor test for Math.f16round()
Browse files Browse the repository at this point in the history
Previously, this was using Math.fround() instead of the f16 version.
  • Loading branch information
rmg-x authored and Ms2ger committed Nov 12, 2024
1 parent 5c8a66d commit 8eee455
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/built-ins/Math/f16round/not-a-constructor.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
});

0 comments on commit 8eee455

Please sign in to comment.