fix Finder.description deprecation

This commit is contained in:
Adam Velebil 2023-11-23 15:33:15 +01:00
parent e897bffacd
commit c8007213bd
No known key found for this signature in database
GPG Key ID: C9B1E4A3CBBD2E10

View File

@ -57,7 +57,8 @@ extension AppWidgetTester on WidgetTester {
}
if (evaluated.isEmpty) {
testLog(false, 'Failed to find ${f.description} in $timeOutSec seconds.');
testLog(false,
'Found 0 ${f.describeMatch(Plurality.zero)} in $timeOutSec seconds.');
}
return f;