Skip to content

Commit e504343

Browse files
content test: Cut out a redundant URL check
1 parent d040abc commit e504343

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

test/widgets/content_test.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,6 @@ void main() {
400400
// The image indeed has an invalid URL.
401401
final expectedImages = (example.expectedNodes[0] as ImagePreviewNodeList).imagePreviews;
402402
check(() => Uri.parse(expectedImages.single.srcUrl)).throws<void>();
403-
check(tryResolveUrl(eg.realmUrl, expectedImages.single.srcUrl)).isNull();
404403
// The MessageImagePreview has shown up,
405404
// but it doesn't attempt a RealmContentNetworkImage.
406405
check(tester.widgetList(find.byType(MessageImagePreview))).isNotEmpty();

0 commit comments

Comments
 (0)