Index: pkg/analyzer/test/src/dart/constant/evaluation_test.dart |
diff --git a/pkg/analyzer/test/src/dart/constant/evaluation_test.dart b/pkg/analyzer/test/src/dart/constant/evaluation_test.dart |
index 39ded278c5c9f0d40d0ed3077e31f4d82b2779eb..47ed912a3cda1ad2c3199697f6257d9c980a8f67 100644 |
--- a/pkg/analyzer/test/src/dart/constant/evaluation_test.dart |
+++ b/pkg/analyzer/test/src/dart/constant/evaluation_test.dart |
@@ -1196,7 +1196,7 @@ const A a = const A(); |
} |
void _assertProperDependencies(String sourceText, |
- [List<ErrorCode> expectedErrorCodes = ErrorCode.EMPTY_LIST]) { |
+ [List<ErrorCode> expectedErrorCodes = const <ErrorCode>[]]) { |
Source source = addSource(sourceText); |
LibraryElement element = resolve2(source); |
CompilationUnit unit = |