mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-18 14:23:42 +00:00
test: align failed task speed assertion with PR #1510 behavior
This commit is contained in:
1 parent
a3f6ec5885
commit
14b22cf485
1 file changed
+1
-1
@@ -3711,7 +3711,7 @@ void main() {
|
|||||||
|
|
||||||
expect(find.text('Failed'), findsOneWidget);
|
expect(find.text('Failed'), findsOneWidget);
|
||||||
expect(find.text('Connection refused'), findsNothing);
|
expect(find.text('Connection refused'), findsNothing);
|
||||||
expect(find.text('10 B/s'), findsNothing);
|
expect(find.text('10 B/s'), findsOneWidget);
|
||||||
expect(tester.getRect(find.text('50 B / 100 B')).left, lessThan(tester.getRect(find.text('Failed')).left));
|
expect(tester.getRect(find.text('50 B / 100 B')).left, lessThan(tester.getRect(find.text('Failed')).left));
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user