X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=t%2FBoolean.t;h=0f04913cae515c2220c793cb15b82d32b2a62f94;hb=bc866c25f48975a73c2fab6ad9276d958f0780ba;hp=865953c8c5a102cae7c61d0cdd46064a1868a2e2;hpb=16c51d03762372d40be4ed600dcd9d51557f0854;p=koha.git 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' );