remove unnecessary string interpolations (#49352)

This commit is contained in:
Alexandre Ardhuin
2020-01-24 05:43:01 +01:00
committed by Flutter GitHub Bot
parent 5d532e42fb
commit 92cbaa3efe
56 changed files with 79 additions and 77 deletions

View File

@@ -113,7 +113,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

@@ -91,7 +91,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>{