Skip to content

Commit ae72cea

Browse files
authored
Fix an incorrect variable name in Dart 2 flutter test code (flutter#14283)
The code was attempting to delete temporaryDirectory while it should have been deleting tempBundleDirectory
1 parent 667f478 commit ae72cea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/flutter_tools/lib/src/test/flutter_platform.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ class _FlutterPlatform extends PlatformPlugin {
217217
.createTempSync('flutter_bundle_directory');
218218
finalizers.add(() async {
219219
printTrace('test $ourTestCount: deleting temporary bundle directory');
220-
temporaryDirectory.deleteSync(recursive: true);
220+
tempBundleDirectory.deleteSync(recursive: true);
221221
});
222222

223223
// copy 'vm_platform_strong.dill' into 'platform.dill'

0 commit comments

Comments
 (0)