From 20c1002132603be8b00997dfe93e8f4947fb4015 Mon Sep 17 00:00:00 2001 From: Brett Morgan Date: Thu, 29 Aug 2024 22:51:13 +1000 Subject: [PATCH] Fixup CI (#2412) --- .../varfont_shader_puzzle/lib/components/wonky_char.dart | 1 - experimental/web_dashboard/lib/src/api/mock.dart | 3 +-- material_3_demo/test/component_screen_test.dart | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/experimental/varfont_shader_puzzle/lib/components/wonky_char.dart b/experimental/varfont_shader_puzzle/lib/components/wonky_char.dart index b1c92508e..5390a858d 100644 --- a/experimental/varfont_shader_puzzle/lib/components/wonky_char.dart +++ b/experimental/varfont_shader_puzzle/lib/components/wonky_char.dart @@ -158,7 +158,6 @@ class WonkyCharState extends State '**ERROR** unrecognized property to animate: ${s.property}'); } } - break; } } // save refs to all curves just to persist in mem, don't need to touch them again diff --git a/experimental/web_dashboard/lib/src/api/mock.dart b/experimental/web_dashboard/lib/src/api/mock.dart index 17458dd9a..4a2d789e0 100644 --- a/experimental/web_dashboard/lib/src/api/mock.dart +++ b/experimental/web_dashboard/lib/src/api/mock.dart @@ -5,7 +5,6 @@ import 'dart:async'; import 'dart:math'; -import 'package:collection/collection.dart'; import 'package:uuid/uuid.dart' as uuid; import 'api.dart'; @@ -108,7 +107,7 @@ class MockEntryApi implements EntryApi { var list = _storage.keys .where((k) => k.startsWith(categoryId)) .map((k) => _storage[k]) - .whereNotNull() + .nonNulls .toList(); return list; } diff --git a/material_3_demo/test/component_screen_test.dart b/material_3_demo/test/component_screen_test.dart index b37642c32..dd85363f4 100644 --- a/material_3_demo/test/component_screen_test.dart +++ b/material_3_demo/test/component_screen_test.dart @@ -186,7 +186,7 @@ void main() { }); testWidgets( - 'Material version switches between Material3 and Material2 when' + 'Material version switches between Material3 and Material2 when ' 'the version icon is clicked', (tester) async { widgetSetup(tester, 450, windowHeight: 7000); await tester.pumpWidget(const App());