mirror of
https://github.com/tc39/test262.git
synced 2025-04-08 19:35:28 +02:00
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:
parent
5c8a66d34b
commit
8eee4552a7
@ -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();
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user