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