From c8f04b8e7b95f07db79d134d21a9ead5a6c02d7b Mon Sep 17 00:00:00 2001 From: Chris Hall Date: Thu, 8 Dec 2011 09:34:36 +1300 Subject: [PATCH] Added missing reference case to Boolean.t and corrected count http://bugs.koha-community.org/show_bug.cgi?id=5327 Signed-off-by: Katrin Fischer Test passes. Signed-off-by: Paul Poulain (cherry picked from commit dfa4b73737ff32b10fd01fb53937b137d898c770) Signed-off-by: Chris Nighswonger --- t/Boolean.t | 1 + 1 file changed, 1 insertion(+) diff --git a/t/Boolean.t b/t/Boolean.t index fb3b0bfdc5..af5c8b71d2 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' ); -- 2.20.1