| Index: pkg/analyzer_cli/test/error_test.dart
|
| diff --git a/pkg/analyzer_cli/test/error_test.dart b/pkg/analyzer_cli/test/error_test.dart
|
| index c1c79887be7ad610e76d3b5b5ec37548789080e2..f71a21257dc29025e27840a7e7127765ab9f1f15 100644
|
| --- a/pkg/analyzer_cli/test/error_test.dart
|
| +++ b/pkg/analyzer_cli/test/error_test.dart
|
| @@ -22,21 +22,21 @@ void main() {
|
| expect(
|
| errorsForFile('void foo;\n'),
|
| equals(
|
| - "Error in test.dart: Variables cannot have a type of 'void'\n"));
|
| + "Error in test.dart: Variables can't have a type of 'void'.\n"));
|
| });
|
|
|
| test("an error on the last line", () {
|
| expect(
|
| errorsForFile('\nvoid foo;'),
|
| equals(
|
| - "Error in test.dart: Variables cannot have a type of 'void'\n"));
|
| + "Error in test.dart: Variables can't have a type of 'void'.\n"));
|
| });
|
|
|
| test("an error in the middle", () {
|
| expect(
|
| errorsForFile('\nvoid foo;\n'),
|
| equals(
|
| - "Error in test.dart: Variables cannot have a type of 'void'\n"));
|
| + "Error in test.dart: Variables can't have a type of 'void'.\n"));
|
| });
|
|
|
| var veryLongString = new List.filled(107, ' ').join('');
|
| @@ -45,21 +45,21 @@ void main() {
|
| expect(
|
| errorsForFile('$veryLongString void foo;'),
|
| equals(
|
| - "Error in test.dart: Variables cannot have a type of 'void'\n"));
|
| + "Error in test.dart: Variables can't have a type of 'void'.\n"));
|
| });
|
|
|
| test("an error at the beginning of a very long line", () {
|
| expect(
|
| errorsForFile('void foo; $veryLongString'),
|
| equals(
|
| - "Error in test.dart: Variables cannot have a type of 'void'\n"));
|
| + "Error in test.dart: Variables can't have a type of 'void'.\n"));
|
| });
|
|
|
| test("an error in the middle of a very long line", () {
|
| expect(
|
| errorsForFile('$veryLongString void foo;$veryLongString'),
|
| equals(
|
| - "Error in test.dart: Variables cannot have a type of 'void'\n"));
|
| + "Error in test.dart: Variables can't have a type of 'void'.\n"));
|
| });
|
| });
|
| }
|
|
|