diff --git a/t/ui-lib-widgets.t b/t/ui-lib-widgets.t
index 161b7c751..26a5d91f7 100644
--- a/t/ui-lib-widgets.t
+++ b/t/ui-lib-widgets.t
@@ -391,7 +391,7 @@ like(main::ui_form_columns_table('x.cgi', [ [ 'go', 'Go' ] ], 0, undef, undef,
[ [ 'a', 'A' ],
{ 'value' => 'b', 'label' => 'B', 'suffix' => '.x',
'level' => 1, 'tag' => 'Plan' },
- [ 'c', 'C' ] ],
+ [ 'c', 'C' ], map { [ $_, uc($_) ] } qw(d e f g h) ],
{ 'modes' => { 'name' => 'all', 'value' => 1,
'options' => [ [ 1, 'All' ], [ 0, 'Some' ] ],
'hide' => [ 1 ] } });
@@ -417,7 +417,7 @@ like(main::ui_form_columns_table('x.cgi', [ [ 'go', 'Go' ] ], 0, undef, undef,
'the links are laid out by ui_links_row');
unlike($html, qr/
\s*]*ui_search/,
'without the line break that row ends with');
- unlike(main::ui_multi_select_list('x', [ ], [ [ 'a', 'A' ] ], { 'disabled' => 1 }),
+ unlike(main::ui_multi_select_list('x', [ ], [ map { [ $_, $_ ] } 1..9 ], { 'disabled' => 1 }),
qr/select_all/, 'a disabled widget has no links');
like($html, qr/