| Index: tests/compiler/dart2js/serialization/analysis_test_helper.dart
|
| diff --git a/tests/compiler/dart2js/serialization/analysis_test_helper.dart b/tests/compiler/dart2js/serialization/analysis_test_helper.dart
|
| index 82be8ee7740d2f0b36fd2009200e453e5b67e53e..00d19e6f4a859d99350cce216e762e354ca3803c 100644
|
| --- a/tests/compiler/dart2js/serialization/analysis_test_helper.dart
|
| +++ b/tests/compiler/dart2js/serialization/analysis_test_helper.dart
|
| @@ -37,13 +37,12 @@ main(List<String> args) {
|
| });
|
| }
|
|
|
| -Future analyze(
|
| - Uri entryPoint,
|
| +Future analyze(Uri entryPoint,
|
| {Map<String, String> sourceFiles: const <String, String>{},
|
| - List<Uri> resolutionInputs,
|
| - int index,
|
| - Test test,
|
| - bool verbose: false}) async {
|
| + List<Uri> resolutionInputs,
|
| + int index,
|
| + Test test,
|
| + bool verbose: false}) async {
|
| String testDescription = test != null ? test.name : '${entryPoint}';
|
| String id = index != null ? '$index: ' : '';
|
| String title = '${id}${testDescription}';
|
| @@ -58,10 +57,8 @@ Future analyze(
|
| if (test != null) {
|
| Expect.equals(test.expectedErrorCount, diagnosticCollector.errors.length,
|
| "Unexpected error count.");
|
| - Expect.equals(
|
| - test.expectedWarningCount,
|
| - diagnosticCollector.warnings.length,
|
| - "Unexpected warning count.");
|
| + Expect.equals(test.expectedWarningCount,
|
| + diagnosticCollector.warnings.length, "Unexpected warning count.");
|
| Expect.equals(test.expectedHintCount, diagnosticCollector.hints.length,
|
| "Unexpected hint count.");
|
| Expect.equals(test.expectedInfoCount, diagnosticCollector.infos.length,
|
| @@ -69,4 +66,3 @@ Future analyze(
|
| }
|
| });
|
| }
|
| -
|
|
|