Unverified Commit 4a273740 authored by Alexander Dahlberg's avatar Alexander Dahlberg Committed by GitHub

Fixed order dependency and removed no-shuffle-tag in build_ios_framew… (#94699)

* Fixed order dependency and removed no-shuffle-tag in build_ios_framework_test.dart

* Removed trailing spaces in build_ios_framework_test.dart

* Removed unnecessary formatting
parent cddd5524
...@@ -4,12 +4,6 @@ ...@@ -4,12 +4,6 @@
// @dart = 2.8 // @dart = 2.8
// TODO(gspencergoog): Remove this tag once this test's state leaks/test
// dependencies have been fixed.
// https://github.com/flutter/flutter/issues/85160
// Fails with "flutter test --test-randomize-ordering-seed=1000"
@Tags(<String>['no-shuffle'])
import 'package:file/memory.dart'; import 'package:file/memory.dart';
import 'package:flutter_tools/src/base/file_system.dart'; import 'package:flutter_tools/src/base/file_system.dart';
import 'package:flutter_tools/src/base/platform.dart'; import 'package:flutter_tools/src/base/platform.dart';
...@@ -146,6 +140,8 @@ void main() { ...@@ -146,6 +140,8 @@ void main() {
const String licenseText = 'This is the license!'; const String licenseText = 'This is the license!';
setUp(() { setUp(() {
// cache.getLicenseFile() relies on the flutter root being set.
Cache.flutterRoot ??= getFlutterRoot();
cache.getLicenseFile() cache.getLicenseFile()
..createSync(recursive: true) ..createSync(recursive: true)
..writeAsStringSync(licenseText); ..writeAsStringSync(licenseText);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment