| 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 e03cba6db8f4d39ba7bea312c9fde85a0fd5d8ba..35dea2a8f20c4e1499ea673ddb3160f3c3c53184 100644
|
| --- a/pkg/analyzer/test/generated/compile_time_error_code_test.dart
|
| +++ b/pkg/analyzer/test/generated/compile_time_error_code_test.dart
|
| @@ -48,15 +48,6 @@ f(x) sync* {
|
| verify([source]);
|
| }
|
|
|
| - void fail_compileTimeConstantRaisesException() {
|
| - Source source = addSource(r'''
|
| -''');
|
| - computeLibrarySourceErrors(source);
|
| - assertErrors(
|
| - source, [CompileTimeErrorCode.COMPILE_TIME_CONSTANT_RAISES_EXCEPTION]);
|
| - verify([source]);
|
| - }
|
| -
|
| void fail_constEvalThrowsException() {
|
| Source source = addSource(r'''
|
| class C {
|
| @@ -6168,8 +6159,9 @@ main() {
|
| assertErrors(source, [CompileTimeErrorCode.URI_DOES_NOT_EXIST]);
|
|
|
| // Check that the file is represented as missing.
|
| - Source target =
|
| - analysisContext2.getSourcesWithFullName(resourceProvider.convertPath("/target.dart")).first;
|
| + Source target = analysisContext2
|
| + .getSourcesWithFullName(resourceProvider.convertPath("/target.dart"))
|
| + .first;
|
| expect(analysisContext2.getModificationStamp(target), -1);
|
|
|
| // Add an overlay in the same way as AnalysisServer.
|
|
|