| Index: test/testing.dart
|
| diff --git a/test/testing.dart b/test/testing.dart
|
| index a28328dd4667ab153bdc3ce6fe9be7ed14cdcb8c..6874ed3c0893cbf932fbf5cf1d22f4f865b29849 100644
|
| --- a/test/testing.dart
|
| +++ b/test/testing.dart
|
| @@ -73,11 +73,7 @@ class _TestUtils {}
|
| /// });
|
| ///
|
| void testChecker(String name, Map<String, String> testFiles,
|
| - {String sdkDir,
|
| - customUrlMappings: const {},
|
| - relaxedCasts: true,
|
| - inferDownwards: StrongModeOptions.inferDownwardsDefault,
|
| - inferTransitively: StrongModeOptions.inferTransitivelyDefault}) {
|
| + {String sdkDir, customUrlMappings: const {}}) {
|
| test(name, () {
|
| expect(testFiles.containsKey('/main.dart'), isTrue,
|
| reason: '`/main.dart` is missing in testFiles');
|
| @@ -95,13 +91,8 @@ void testChecker(String name, Map<String, String> testFiles,
|
| dartSdkPath: sdkDir),
|
| fileResolvers: [uriResolver]);
|
|
|
| - var checker = new StrongChecker(
|
| - context,
|
| - new StrongModeOptions(
|
| - relaxedCasts: relaxedCasts,
|
| - inferDownwards: inferDownwards,
|
| - inferTransitively: inferTransitively,
|
| - hints: true));
|
| + var checker =
|
| + new StrongChecker(context, new StrongModeOptions(hints: true));
|
|
|
| // Run the checker on /main.dart.
|
| var mainSource = uriResolver.resolveAbsolute(new Uri.file('/main.dart'));
|
|
|