Sync lints (#68136)

This commit is contained in:
Alexandre Ardhuin
2020-10-16 00:37:04 +02:00
committed by GitHub
parent 7181c7a86a
commit 73301a35a2
33 changed files with 145 additions and 132 deletions

View File

@@ -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.

View 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

View File

@@ -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)}
''',
);