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:
Rick Waldron 2018-10-22 14:10:17 -04:00
parent e557560f71
commit 4d7eef14fb

View File

@ -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);