mirror of https://github.com/tc39/test262.git
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…
Reference in New Issue