From 8eee4552a728df8fd2044d513e020ed223e7ea6f Mon Sep 17 00:00:00 2001 From: rmg-x Date: Tue, 12 Nov 2024 07:11:17 -0600 Subject: [PATCH] Fix the not-a-constructor test for Math.f16round() Previously, this was using Math.fround() instead of the f16 version. --- test/built-ins/Math/f16round/not-a-constructor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/built-ins/Math/f16round/not-a-constructor.js b/test/built-ins/Math/f16round/not-a-constructor.js index 08bffccccbe..661c33fbe3e 100644 --- a/test/built-ins/Math/f16round/not-a-constructor.js +++ b/test/built-ins/Math/f16round/not-a-constructor.js @@ -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(); });