File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
lighthouse-core/test/lib/i18n Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ branches:
66matrix :
77 include :
88 - node_js : " 10"
9- - node_js : " 11 "
9+ - node_js : " 12 "
1010 if : head_branch IS blank AND branch = master
1111dist : trusty
1212cache :
Original file line number Diff line number Diff line change @@ -18,13 +18,14 @@ describe('locales', () => {
1818 const deprecatedCodes = {
1919 in : 'id' ,
2020 iw : 'he' ,
21+ mo : 'ro' ,
2122 } ;
2223
2324 for ( const locale of Object . keys ( locales ) ) {
2425 const canonicalLocale = Intl . getCanonicalLocales ( locale ) [ 0 ] ;
2526 const substitute = deprecatedCodes [ locale ] ;
2627 assert . ok ( locale === canonicalLocale || substitute === canonicalLocale ,
27- `locale code '${ locale } ' not canonical` ) ;
28+ `locale code '${ locale } ' not canonical (' ${ canonicalLocale } ' found instead) ` ) ;
2829 }
2930
3031 // Deprecation subsitutes should be removed from the test if no longer used.
You can’t perform that action at this time.
0 commit comments