We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 64e7336 commit fe8dcf6Copy full SHA for fe8dcf6
packages/flutter_tools/test/integration.shard/timeline_test.dart
@@ -96,7 +96,15 @@ void main() {
96
// The downloaded part of the timeline may contain an end event whose
97
// corresponding begin event happened before the start of the timeline.
98
if (stack.isNotEmpty) {
99
- expect(stack.removeLast(), name);
+ bool pass = false;
100
+ while (stack.isNotEmpty) {
101
+ final String value = stack.removeLast();
102
+ if (value == name) {
103
+ pass = true;
104
+ break;
105
+ }
106
107
+ expect(pass, true);
108
}
109
110
0 commit comments