Index: pkg/analyzer/test/generated/parser_test.dart |
diff --git a/pkg/analyzer/test/generated/parser_test.dart b/pkg/analyzer/test/generated/parser_test.dart |
index e989e911258d059abd0ad4baa26f0b80089042bc..ae8b9c2dcea64032ae3917dd8aa1a64c29c59f7b 100644 |
--- a/pkg/analyzer/test/generated/parser_test.dart |
+++ b/pkg/analyzer/test/generated/parser_test.dart |
@@ -3419,8 +3419,7 @@ class Foo { |
void test_nonIdentifierLibraryName_partOf() { |
CompilationUnit unit = parseCompilationUnit( |
- "part of 3;", [ParserErrorCode.MISSING_NAME_IN_PART_OF_DIRECTIVE, |
- ParserErrorCode.UNEXPECTED_TOKEN]); |
+ "part of 'lib';", [ParserErrorCode.NON_IDENTIFIER_LIBRARY_NAME]); |
expect(unit, isNotNull); |
} |