From 3019ad976d333cceb903b3f53885cd9ae678a622 Mon Sep 17 00:00:00 2001 From: Mehmet Fidanboylu Date: Mon, 11 Jun 2018 11:31:25 -0700 Subject: [PATCH] Passing any to named params require the name of the parameter itself. (#18361) --- .../test/tester/flutter_tester_test.dart | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/packages/flutter_tools/test/tester/flutter_tester_test.dart b/packages/flutter_tools/test/tester/flutter_tester_test.dart index 4bfa70a0f8..4ae579d8a6 100644 --- a/packages/flutter_tools/test/tester/flutter_tester_test.dart +++ b/packages/flutter_tools/test/tester/flutter_tester_test.dart @@ -168,16 +168,16 @@ Hello! ])); when(mockKernelCompiler.compile( - sdkRoot: any, - incrementalCompilerByteStorePath: any, - mainPath: any, - outputFilePath: any, - depFilePath: any, - trackWidgetCreation: any, - extraFrontEndOptions: any, - fileSystemRoots: any, - fileSystemScheme: any, - packagesPath: any, + sdkRoot: anyNamed('sdkRoot'), + incrementalCompilerByteStorePath: anyNamed('incrementalCompilerByteStorePath'), + mainPath: anyNamed('mainPath'), + outputFilePath: anyNamed('outputFilePath'), + depFilePath: anyNamed('depFilePath'), + trackWidgetCreation: anyNamed('trackWidgetCreation'), + extraFrontEndOptions: anyNamed('extraFrontEndOptions'), + fileSystemRoots: anyNamed('fileSystemRoots'), + fileSystemScheme: anyNamed('fileSystemScheme'), + packagesPath: anyNamed('packagesPath'), )).thenAnswer((_) async { fs.file('$mainPath.dill').createSync(recursive: true); return new CompilerOutput('$mainPath.dill', 0);