Skip to content

Commit 13c81c6

Browse files
committed
Increase web_app size limit in test
1 parent 302c5ed commit 13c81c6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/test/frontend/static_files_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ void main() {
212212
test('script.dart.js and parts size check', () {
213213
final file = cache.getFile('/static/js/script.dart.js');
214214
expect(file, isNotNull);
215-
expect((file!.bytes.length / 1024).round(), closeTo(336, 20));
215+
expect((file!.bytes.length / 1024).round(), closeTo(345, 20));
216216

217217
final parts = cache.paths
218218
.where((path) =>

pkg/web_app/lib/src/widget/downloads_chart/widget.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ void drawChart(
364364
for (int i = 0; i < downloads.length; i++) {
365365
final index = ranges.length - 1 - i;
366366
if (downloads[index] > 0) {
367-
// We only show the exact download count in the tooltip if it's non-zero.
367+
// We only show the exact download count in the tooltip if it is non-zero.
368368
final square = HTMLDivElement()
369369
..setAttribute(
370370
'class', 'downloads-chart-tooltip-square ${squareColorClass(i)}');

0 commit comments

Comments
 (0)