mirror of
https://github.com/tc39/test262.git
synced 2025-04-08 19:35:28 +02:00
Curation: remove v8/test262/local-tests/test/intl402/NumberFormat/fraction-digit-options-read-once.js
A version of the same file, containing the same test with more coverage and a more complete set of meta data exists
This commit is contained in:
parent
e557560f71
commit
4d7eef14fb
@ -1,18 +0,0 @@
|
||||
// Copyright 2017 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
esid: ECMA-402 #sec-setnfdigitoptions
|
||||
description: >
|
||||
The maximum and minimum fraction digits properties should be read from
|
||||
the options bag exactly once from the NumberFormat constructor.
|
||||
Regression test for https://bugs.chromium.org/p/v8/issues/detail?id=6015
|
||||
include: [assert.js]
|
||||
---*/
|
||||
|
||||
var minCounter = 0;
|
||||
var maxCounter = 0;
|
||||
new Intl.NumberFormat("en", { get minimumFractionDigits() { minCounter++ },
|
||||
get maximumFractionDigits() { maxCounter++ } });
|
||||
assert.sameValue(1, minCounter);
|
||||
assert.sameValue(1, maxCounter);
|
Loading…
x
Reference in New Issue
Block a user