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
diff --git a/bin/internal/dart-sdk.version b/bin/internal/dart-sdk.version
index 062fc5d..6ad63bb 100644
--- a/bin/internal/dart-sdk.version
+++ b/bin/internal/dart-sdk.version
@@ -1 +1 @@
-1.23.0-dev.10.0
+1.23.0-dev.11.5
diff --git a/packages/flutter_tools/test/analyze_once_test.dart b/packages/flutter_tools/test/analyze_once_test.dart
index 41720f8..b9f0bd1 100644
--- a/packages/flutter_tools/test/analyze_once_test.dart
+++ b/packages/flutter_tools/test/analyze_once_test.dart
@@ -6,6 +6,7 @@
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/context.dart';
void main() {
+
+ final String analyzerSeparator = platform.isWindows ? '-' : '•';
+
group('analyze once', () {
Directory tempDir;
File libMain;
@@ -86,7 +90,7 @@
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 @@
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 @@
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 @@
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,