Unverified Commit 3019ad97 authored by Mehmet Fidanboylu's avatar Mehmet Fidanboylu Committed by GitHub

Passing any to named params require the name of the parameter itself. (#18361)

parent 304763d4
...@@ -168,16 +168,16 @@ Hello! ...@@ -168,16 +168,16 @@ Hello!
])); ]));
when(mockKernelCompiler.compile( when(mockKernelCompiler.compile(
sdkRoot: any, sdkRoot: anyNamed('sdkRoot'),
incrementalCompilerByteStorePath: any, incrementalCompilerByteStorePath: anyNamed('incrementalCompilerByteStorePath'),
mainPath: any, mainPath: anyNamed('mainPath'),
outputFilePath: any, outputFilePath: anyNamed('outputFilePath'),
depFilePath: any, depFilePath: anyNamed('depFilePath'),
trackWidgetCreation: any, trackWidgetCreation: anyNamed('trackWidgetCreation'),
extraFrontEndOptions: any, extraFrontEndOptions: anyNamed('extraFrontEndOptions'),
fileSystemRoots: any, fileSystemRoots: anyNamed('fileSystemRoots'),
fileSystemScheme: any, fileSystemScheme: anyNamed('fileSystemScheme'),
packagesPath: any, packagesPath: anyNamed('packagesPath'),
)).thenAnswer((_) async { )).thenAnswer((_) async {
fs.file('$mainPath.dill').createSync(recursive: true); fs.file('$mainPath.dill').createSync(recursive: true);
return new CompilerOutput('$mainPath.dill', 0); return new CompilerOutput('$mainPath.dill', 0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment