2017-08-01 11:36:44 -05:00
|
|
|
// Copyright 2017 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.
|
|
|
|
|
|
|
|
// Environment Variables: LC_ALL=pt-BR.UTF8
|
|
|
|
|
2017-10-18 15:03:02 -07:00
|
|
|
// The data files packaged with d8 currently have Brazillian Portuguese
|
2020-11-13 12:51:53 +01:00
|
|
|
// DateTimeFormat and Collation
|
2017-08-01 11:36:44 -05:00
|
|
|
|
|
|
|
if (this.Intl) {
|
2020-11-13 12:51:53 +01:00
|
|
|
assertEquals('pt-BR', Intl.Collator().resolvedOptions().locale);
|
2017-08-01 11:36:44 -05:00
|
|
|
assertEquals('pt-BR', Intl.DateTimeFormat().resolvedOptions().locale);
|
|
|
|
}
|