| Index: pkg/analyzer/test/src/task/strong/strong_test_helper.dart
|
| diff --git a/pkg/analyzer/test/src/task/strong/strong_test_helper.dart b/pkg/analyzer/test/src/task/strong/strong_test_helper.dart
|
| index 360f6c1dd711bee896446541d5562fd640a32c03..bd8e02291a7fbb442cdcdad13f18793d52ad2a05 100644
|
| --- a/pkg/analyzer/test/src/task/strong/strong_test_helper.dart
|
| +++ b/pkg/analyzer/test/src/task/strong/strong_test_helper.dart
|
| @@ -173,13 +173,18 @@ class _ExpectedErrorVisitor extends UnifyingAstVisitor {
|
| var commentText = '$comment';
|
| var start = commentText.lastIndexOf('/*');
|
| var end = commentText.lastIndexOf('*/');
|
| - if (start != -1 && end != -1) {
|
| + if (start != -1 &&
|
| + end != -1 &&
|
| + !commentText.startsWith('/*<', start) &&
|
| + !commentText.startsWith('/*=', start)) {
|
| expect(start, lessThan(end));
|
| var errors = commentText.substring(start + 2, end).split(',');
|
| var expectations =
|
| errors.map(_ErrorExpectation.parse).where((x) => x != null);
|
|
|
| - for (var e in expectations) _expectError(node, e);
|
| + for (var e in expectations) {
|
| + _expectError(node, e);
|
| + }
|
| }
|
| }
|
| }
|
|
|