Skip to content

Commit 7709eab

Browse files
committed
chore: fix test
1 parent 74bfc4e commit 7709eab

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed
-324 Bytes
Loading

test/sbn_test.dart

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,11 @@ void main() {
223223
));
224224
if (importedCoreInfo == null) fail('Failed to load imported core info');
225225

226+
if (importedCoreInfo.pages.length > 1 &&
227+
importedCoreInfo.pages.last.isEmpty) {
228+
importedCoreInfo.pages.removeLast();
229+
}
230+
226231
await tester.runAsync(() => _precacheImages(
227232
context: tester.binding.rootElement!,
228233
page: importedCoreInfo.pages.first,

0 commit comments

Comments
 (0)