-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
area-testCross-cutting test issues (use area- labels for specific failures; not used for package:test).Cross-cutting test issues (use area- labels for specific failures; not used for package:test).
Description
The test co19/LanguageFeatures/Parts-with-imports/export_A01_t02 fails to verify an error because the following line contains a comment.
The test has
print(LibET);
// ^^^^^
// [analyzer] unspecified
// [cfe] unspecified
// From scope_lib2.dart
print(libId); // Okand while an error reported for the CFE, the test fails with
static error failures:
- Wrong message at tests/co19/src/LanguageFeatures/Parts-with-imports/export_A01_t02.dart line 50, column 9: Undefined name 'LibET'.
Expected: unspecified
From scope_lib2.dart
(indicating that the tester expects the comment in the following line to be part of the message).
If a line is inserted:
print(LibET);
// ^^^^^
// [analyzer] unspecified
// [cfe] unspecified
// From scope_lib2.dart
print(libId); // Okthe test succeeds.
Metadata
Metadata
Assignees
Labels
area-testCross-cutting test issues (use area- labels for specific failures; not used for package:test).Cross-cutting test issues (use area- labels for specific failures; not used for package:test).