Skip to content

Commit 817671e

Browse files
[flutter_tools] Initialize Cache.flutterRoot at the start of the upgrade_test suite (flutter#189937)
Fixes flutter#189919
1 parent 89af7cd commit 817671e

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

‎packages/flutter_tools/test/commands.shard/permeable/upgrade_test.dart‎

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,6 @@
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
44

5-
// TODO(team-tools): Remove when the execution order dependency is resolved.
6-
// See https://github.com/flutter/flutter/issues/189919
7-
@Tags(<String>['no-shuffle'])
8-
library;
9-
105
import 'package:args/command_runner.dart';
116
import 'package:file/memory.dart';
127
import 'package:flutter_tools/src/base/file_system.dart';
@@ -29,6 +24,10 @@ import '../../src/fakes.dart';
2924
import '../../src/test_flutter_command_runner.dart';
3025

3126
void main() {
27+
setUpAll(() {
28+
Cache.flutterRoot = getFlutterRoot();
29+
});
30+
3231
group('UpgradeCommandRunner', () {
3332
final jan12026 = DateTime.utc(2026);
3433

0 commit comments

Comments
 (0)