| Index: lib/src/testing.dart
|
| diff --git a/lib/src/testing.dart b/lib/src/testing.dart
|
| index f757930e5ccc6dd937206f1aa3813fa7fba5de44..b0014a5692c51c41460b8b297797ca613e568d0a 100644
|
| --- a/lib/src/testing.dart
|
| +++ b/lib/src/testing.dart
|
| @@ -55,7 +55,8 @@ CheckerResults testChecker(Map<String, String> testFiles,
|
| inferDownwards: RulesOptions.inferDownwardsDefault,
|
| inferFromOverrides: ResolverOptions.inferFromOverridesDefault,
|
| inferTransitively: ResolverOptions.inferTransitivelyDefault,
|
| - nonnullableTypes: TypeOptions.NONNULLABLE_TYPES}) {
|
| + nonnullableTypes: TypeOptions.NONNULLABLE_TYPES,
|
| + wrapClosures: RulesOptions.wrapClosuresDefault}) {
|
| expect(testFiles.containsKey('/main.dart'), isTrue,
|
| reason: '`/main.dart` is missing in testFiles');
|
|
|
| @@ -69,6 +70,7 @@ CheckerResults testChecker(Map<String, String> testFiles,
|
| inferFromOverrides: inferFromOverrides,
|
| inferTransitively: inferTransitively,
|
| nonnullableTypes: nonnullableTypes,
|
| + wrapClosures: wrapClosures,
|
| useMockSdk: sdkDir == null,
|
| dartSdkPath: sdkDir,
|
| runtimeDir: '/dev_compiler_runtime/',
|
|
|