Sync lints (#68136)
This commit is contained in:
committed by
GitHub
parent
7181c7a86a
commit
73301a35a2
@@ -19,7 +19,8 @@ Future<void> main() async {
|
||||
final File subtagRegistry = File('../language_subtag_registry.dart');
|
||||
final File subtagRegistryFlutterTools = File('../../../../packages/flutter_tools/lib/src/localizations/language_subtag_registry.dart');
|
||||
|
||||
final String content = '''// Copyright 2014 The Flutter Authors. All rights reserved.
|
||||
final String content = '''
|
||||
// Copyright 2014 The Flutter Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
|
||||
@@ -3,7 +3,8 @@
|
||||
// found in the LICENSE file.
|
||||
|
||||
/// Cache of https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry.
|
||||
const String languageSubtagRegistry = '''File-Date: 2020-03-16
|
||||
const String languageSubtagRegistry = '''
|
||||
File-Date: 2020-03-16
|
||||
%%
|
||||
Type: language
|
||||
Subtag: aa
|
||||
|
||||
@@ -253,8 +253,8 @@ void _testIsMapSuperset(Map<String, String> newCodepoints, Map<String, String> o
|
||||
final Set<String> oldCodepointsSet = oldCodepoints.keys.toSet();
|
||||
|
||||
if (!newCodepointsSet.containsAll(oldCodepointsSet)) {
|
||||
stderr.writeln(
|
||||
'''Error: New codepoints file does not contain all the existing codepoints.\n
|
||||
stderr.writeln('''
|
||||
Error: New codepoints file does not contain all the existing codepoints.\n
|
||||
Missing: ${oldCodepointsSet.difference(newCodepointsSet)}
|
||||
''',
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user