remove unnecessary string interpolations (#49352)
This commit is contained in:
committed by
Flutter GitHub Bot
parent
5d532e42fb
commit
92cbaa3efe
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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>{
|
||||
|
||||
Reference in New Issue
Block a user