[flutter_tools] Remove more shuffles (#107759)
This commit is contained in:
committed by
GitHub
parent
4056d3ffde
commit
b035ef1352
@@ -122,7 +122,6 @@ void testUsingContext(
|
||||
TemplateRenderer: () => const MustacheTemplateRenderer(),
|
||||
},
|
||||
body: () {
|
||||
final String flutterRoot = getFlutterRoot();
|
||||
return runZonedGuarded<Future<dynamic>>(() {
|
||||
try {
|
||||
return context.run<dynamic>(
|
||||
@@ -134,7 +133,7 @@ void testUsingContext(
|
||||
if (initializeFlutterRoot) {
|
||||
// Provide a sane default for the flutterRoot directory. Individual
|
||||
// tests can override this either in the test or during setup.
|
||||
Cache.flutterRoot ??= flutterRoot;
|
||||
Cache.flutterRoot ??= getFlutterRoot();
|
||||
}
|
||||
return await testMethod();
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user