Commit bf5312b6 authored by Frank Tang's avatar Frank Tang Committed by Commit Bot

[intl] Add failing test for v8:10437

Pick handful of failure cases from
https://bugs.chromium.org/p/v8/issues/detail?id=10437

Mark the test fail
The bug should be fixed by ICU67.1 and will be landed soon.

Bug: v8:10437
Change-Id: Iac309dd48b2220da777c006c7a35fac24e454430
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2161510
Commit-Queue: Frank Tang <ftang@chromium.org>
Reviewed-by: 's avatarJakob Kummerow <jkummerow@chromium.org>
Cr-Commit-Position: refs/heads/master@{#67345}
parent c75296f6
......@@ -36,6 +36,9 @@
# http://crbug/v8/9930
'date-format/format_range_hour_cycle': [FAIL],
# http://crbug/v8/10437
'regress-10437': [FAIL],
}], # ALWAYS
['variant == no_wasm_traps', {
......
// Copyright 2020 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
assertDoesNotThrow(() => (new Intl.NumberFormat(
'ar', {style: 'unit', unit: 'acre-per-degree'})).format(0));
assertDoesNotThrow(() => (new Intl.NumberFormat(
'ar', {style: 'unit', unit: 'millimeter-per-mile'})).format(0));
assertDoesNotThrow(() => (new Intl.NumberFormat(
'ar', {style: 'unit', unit: 'centimeter-per-acre'})).format(1));
assertDoesNotThrow(() => (new Intl.NumberFormat(
'ar', {style: 'unit', unit: 'minute-per-yard'})).format(1));
assertDoesNotThrow(() => (new Intl.NumberFormat(
'ar', {style: 'unit', unit: 'foot-per-fluid-ounce'})).format(2));
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment