Passing any to named params require the name of the parameter itself. (#18361)
This commit is contained in:
committed by
GitHub
parent
304763d4a2
commit
3019ad976d
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user