remove unnecessary string interpolations (#49622)

This commit is contained in:
Alexandre Ardhuin
2020-01-31 18:30:21 +01:00
committed by GitHub
parent 275ec45ec4
commit b5f328e37e
55 changed files with 78 additions and 76 deletions

View File

@@ -115,7 +115,7 @@ void main() {
});
await const DebugUnpackMacOS().build(environment);
expect(globals.fs.directory('$_kOutputPrefix').existsSync(), true);
expect(globals.fs.directory(_kOutputPrefix).existsSync(), true);
for (final File file in inputs) {
expect(globals.fs.file(file.path.replaceFirst(_kInputPrefix, _kOutputPrefix)).existsSync(), true);
}

View File

@@ -107,7 +107,7 @@ void main() {
await runner.run(<String>['dummy', '--local-engine=ios_debug']);
// Verify that this also works if the sky_engine path is a symlink to the engine root.
fs.link('/symlink').createSync('$_kArbitraryEngineRoot');
fs.link('/symlink').createSync(_kArbitraryEngineRoot);
fs.file(_kDotPackages).writeAsStringSync('sky_engine:file:///symlink/src/out/ios_debug/gen/dart-pkg/sky_engine/lib/');
await runner.run(<String>['dummy', '--local-engine=ios_debug']);
}, overrides: <Type, Generator>{