| 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 540f98365714ddd1f633298167da0c1ad464e0d1..ac6549c652813f004f1933828870c579fc6a08bf 100644
|
| --- a/pkg/analyzer/test/generated/compile_time_error_code_test.dart
|
| +++ b/pkg/analyzer/test/generated/compile_time_error_code_test.dart
|
| @@ -3289,7 +3289,9 @@ class A<E> {
|
| }
|
|
|
| void test_invalidUri_part() {
|
| - Source source = addSource("part 'ht:';");
|
| + Source source = addSource(r'''
|
| +library lib;
|
| +part 'ht:';''');
|
| computeLibrarySourceErrors(source);
|
| assertErrors(source, [CompileTimeErrorCode.INVALID_URI]);
|
| }
|
| @@ -5804,7 +5806,9 @@ main() {
|
| }
|
|
|
| void test_uriDoesNotExist_part() {
|
| - Source source = addSource("part 'unknown.dart';");
|
| + Source source = addSource(r'''
|
| +library lib;
|
| +part 'unknown.dart';''');
|
| computeLibrarySourceErrors(source);
|
| assertErrors(source, [CompileTimeErrorCode.URI_DOES_NOT_EXIST]);
|
| }
|
|
|