Skip to content

Commit 79b4e85

Browse files
committed
style: format
1 parent 81b39a7 commit 79b4e85

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

lib/src/models/feed_decorators/local_ad.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,9 @@ abstract class LocalAd extends FeedItem {
6060
final videoAdItem = item as LocalVideoAd;
6161
return videoAdItem.toJson();
6262
default:
63-
throw FormatException('Unknown LocalAd type for toJson: ${item.adType}');
63+
throw FormatException(
64+
'Unknown LocalAd type for toJson: ${item.adType}',
65+
);
6466
}
6567
}
6668

test/src/models/feed_decorators/local_ad_test.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@ void main() {
112112
final json = mockLocalVideoAd.toJson();
113113
expect(LocalAd.toJson(mockLocalVideoAd), equals(json));
114114
});
115-
116115
});
117116

118117
// Test props for a concrete LocalAd subclass (LocalNativeAd)

0 commit comments

Comments
 (0)