X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=t%2FBoolean.t;h=0f04913cae515c2220c793cb15b82d32b2a62f94;hb=26e9c67755b3cdda82daeb70b693b215f5949268;hp=865953c8c5a102cae7c61d0cdd46064a1868a2e2;hpb=16c51d03762372d40be4ed600dcd9d51557f0854;p=koha_gimpoz diff --git a/t/Boolean.t b/t/Boolean.t index 865953c8c5..0f04913cae 100755 --- a/t/Boolean.t +++ b/t/Boolean.t @@ -19,3 +19,4 @@ is( true_p('YES'), '1', 'verified case insensitivity' ); is( true_p(undef), undef, 'recognizes undefined as not boolean' ); is( true_p('foo'), undef, 'recognizes \'foo\' as not boolean' ); +is( true_p([]), undef, 'recognizes a reference as not a boolean' );