remove unnecessary string interpolations (#49622)
This commit is contained in:
committed by
GitHub
parent
275ec45ec4
commit
b5f328e37e
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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>{
|
||||
|
||||
Reference in New Issue
Block a user