Index: pkg/analyzer/test/generated/compile_time_error_code_test.dart |
diff --git a/pkg/analyzer/test/generated/compile_time_error_code_test.dart b/pkg/analyzer/test/generated/compile_time_error_code_test.dart |
index ac6549c652813f004f1933828870c579fc6a08bf..c8ff9ae5a063e88c49e2eef819a5059e5049629b 100644 |
--- a/pkg/analyzer/test/generated/compile_time_error_code_test.dart |
+++ b/pkg/analyzer/test/generated/compile_time_error_code_test.dart |
@@ -4705,6 +4705,15 @@ part 'l2.dart';'''); |
verify([source]); |
} |
+ void test_partOfNonPart_self() { |
+ Source source = addSource(r''' |
+library lib; |
+part 'test.dart';'''); |
+ computeLibrarySourceErrors(source); |
+ assertErrors(source, [CompileTimeErrorCode.PART_OF_NON_PART]); |
+ verify([source]); |
+ } |
+ |
void test_prefix_conditionalPropertyAccess_call() { |
AnalysisOptionsImpl options = new AnalysisOptionsImpl(); |
options.enableNullAwareOperators = true; |