mirror of
https://github.com/flutter/flutter.git
synced 2026-02-04 01:56:32 +08:00
Roll Dart to 1.23.0-dev.11.5 (#9151)
* Roll Dart to 1.23.0-dev.11.3. This is expected to fix the Windows crashes reported in https://github.com/flutter/flutter/issues/8912. * fix tests * Roll to 1.23.0-dev.11.5 * Fix tests
This commit is contained in:
parent
244a7a02b5
commit
d2abdf8e6b
@ -1 +1 @@
|
||||
1.23.0-dev.10.0
|
||||
1.23.0-dev.11.5
|
||||
|
||||
@ -6,6 +6,7 @@ import 'dart:async';
|
||||
|
||||
import 'package:flutter_tools/src/base/common.dart';
|
||||
import 'package:flutter_tools/src/base/file_system.dart';
|
||||
import 'package:flutter_tools/src/base/platform.dart';
|
||||
import 'package:flutter_tools/src/cache.dart';
|
||||
import 'package:flutter_tools/src/commands/analyze.dart';
|
||||
import 'package:flutter_tools/src/commands/create.dart';
|
||||
@ -16,6 +17,9 @@ import 'src/common.dart';
|
||||
import 'src/context.dart';
|
||||
|
||||
void main() {
|
||||
|
||||
final String analyzerSeparator = platform.isWindows ? '-' : '•';
|
||||
|
||||
group('analyze once', () {
|
||||
Directory tempDir;
|
||||
File libMain;
|
||||
@ -86,7 +90,7 @@ void main() {
|
||||
arguments: <String>['analyze'],
|
||||
statusTextContains: <String>[
|
||||
'Analyzing',
|
||||
'[warning] The parameter \'child\' is required',
|
||||
'warning $analyzerSeparator The parameter \'child\' is required',
|
||||
'1 warning found.',
|
||||
],
|
||||
toolExit: true,
|
||||
@ -100,7 +104,7 @@ void main() {
|
||||
arguments: <String>['analyze', libMain.path],
|
||||
statusTextContains: <String>[
|
||||
'Analyzing',
|
||||
'[warning] The parameter \'child\' is required',
|
||||
'warning $analyzerSeparator The parameter \'child\' is required',
|
||||
'1 warning found.',
|
||||
],
|
||||
toolExit: true,
|
||||
@ -126,8 +130,8 @@ void main() {
|
||||
arguments: <String>['analyze'],
|
||||
statusTextContains: <String>[
|
||||
'Analyzing',
|
||||
'[warning] The parameter \'child\' is required',
|
||||
'[lint] Only throw instances of classes extending either Exception or Error',
|
||||
'warning $analyzerSeparator The parameter \'child\' is required',
|
||||
'lint $analyzerSeparator Only throw instances of classes extending either Exception or Error',
|
||||
'1 warning and 1 lint found.',
|
||||
],
|
||||
toolExit: true,
|
||||
@ -141,8 +145,8 @@ void main() {
|
||||
arguments: <String>['analyze', libMain.path],
|
||||
statusTextContains: <String>[
|
||||
'Analyzing',
|
||||
'[warning] The parameter \'child\' is required',
|
||||
'[lint] Only throw instances of classes extending either Exception or Error',
|
||||
'warning $analyzerSeparator The parameter \'child\' is required',
|
||||
'lint $analyzerSeparator Only throw instances of classes extending either Exception or Error',
|
||||
'1 warning and 1 lint found.',
|
||||
],
|
||||
toolExit: true,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user