mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Fix Typos (flutter/engine#19691)
This commit is contained in:
parent
29edfa6473
commit
8fefd60dda
@ -25,7 +25,7 @@ class _StoredMessage {
|
||||
|
||||
/// A fixed-size circular queue.
|
||||
class _RingBuffer<T> {
|
||||
/// The underlying data for the RingBuffer. ListQueue's dynamically resize,
|
||||
/// The underlying data for the RingBuffer. ListQueues dynamically resize,
|
||||
/// [_RingBuffer]s do not.
|
||||
final collection.ListQueue<T> _queue;
|
||||
|
||||
|
||||
@ -24,7 +24,7 @@ class _StoredMessage {
|
||||
|
||||
/// A fixed-size circular queue.
|
||||
class _RingBuffer<T> {
|
||||
/// The underlying data for the RingBuffer. ListQueue's dynamically resize,
|
||||
/// The underlying data for the RingBuffer. ListQueues dynamically resize,
|
||||
/// [_RingBuffer]s do not.
|
||||
final collection.ListQueue<T> _queue;
|
||||
|
||||
|
||||
@ -65,7 +65,7 @@ Future<int> runLint(ArgParser argParser, ArgResults argResults) async {
|
||||
await baselineXml.delete();
|
||||
}
|
||||
}
|
||||
print('Preparing projext.xml...');
|
||||
print('Preparing project.xml...');
|
||||
final IOSink projectXml = File(projectXmlPath).openWrite();
|
||||
projectXml.write(
|
||||
'''<!-- THIS FILE IS GENERATED. PLEASE USE THE INCLUDED DART PROGRAM WHICH -->
|
||||
@ -154,7 +154,7 @@ ArgParser setupOptions() {
|
||||
)
|
||||
..addOption(
|
||||
'out',
|
||||
help: 'The path to write the generated the HTML report to. Ignored if '
|
||||
help: 'The path to write the generated HTML report. Ignored if '
|
||||
'--html is not also true.',
|
||||
defaultsTo: path.join(projectDir, 'lint_report'),
|
||||
);
|
||||
|
||||
@ -39,7 +39,7 @@ void main() {
|
||||
final Map<String, ClassDeclaration> uiClasses = <String, ClassDeclaration>{};
|
||||
final Map<String, ClassDeclaration> webClasses = <String, ClassDeclaration>{};
|
||||
|
||||
// Gather all public classes from each library. For now we are skiping
|
||||
// Gather all public classes from each library. For now we are skipping
|
||||
// other top level members.
|
||||
_collectPublicClasses(uiUnit, uiClasses, 'lib/ui/');
|
||||
_collectPublicClasses(webUnit, webClasses, 'lib/web_ui/lib/');
|
||||
|
||||
@ -65,7 +65,7 @@ Future<void> matchGoldenFile(String filename,
|
||||
'pixelComparison': pixelComparison.toString(),
|
||||
};
|
||||
|
||||
// Chrome on macOS renders slighly differently from Linux, so allow it an
|
||||
// Chrome on macOS renders slightly differently from Linux, so allow it an
|
||||
// extra 1% to deviate from the golden files.
|
||||
if (maxDiffRatePercent != null) {
|
||||
if (operatingSystem == OperatingSystem.macOs) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user