Commit 9b02ce33 authored by Frank Tang's avatar Frank Tang Committed by Commit Bot

Add regression test for v8:8866

Bug: v8:8866
Change-Id: I3a25c68fe4d8536596118352804daa3c6025da37
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1643466Reviewed-by: 's avatarMathias Bynens <mathias@chromium.org>
Reviewed-by: 's avatarFrank Tang <ftang@chromium.org>
Commit-Queue: Frank Tang <ftang@chromium.org>
Cr-Commit-Position: refs/heads/master@{#62042}
parent 2d436790
// Copyright 2019 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.
// Regression test to ensure Intl.PluralRules respect minimumFractionDigits
assertEquals('other',
new Intl.PluralRules("en", {minimumFractionDigits: 2}).select(1));
assertEquals('zero',
new Intl.PluralRules("lv", {minimumFractionDigits: 2}).select(1.13));
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