Skip to content

Commit 3012135

Browse files
committed
fix test
1 parent 3862c8b commit 3012135

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/generator_tests/test/doc/array_nullable_output_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1211,7 +1211,7 @@ class ReactiveArrayNullableOFormArrayBuilder<
12111211
.values
12121212
.toList();
12131213
1214-
if (emptyBuilder != null) {
1214+
if (emptyBuilder != null && itemList.isEmpty) {
12151215
return emptyBuilder!(context);
12161216
}
12171217

0 commit comments

Comments
 (0)