projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18bb9c2
)
Added missing reference case to Boolean.t and corrected count
author
Chris Hall
<chrish@catalyst.net.nz>
Wed, 7 Dec 2011 20:34:36 +0000
(09:34 +1300)
committer
Paul Poulain
<paul.poulain@biblibre.com>
Thu, 15 Dec 2011 12:41:47 +0000
(13:41 +0100)
http://bugs.koha-community.org/show_bug.cgi?id=5327
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Test passes.
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
t/Boolean.t
patch
|
blob
|
history
diff --git
a/t/Boolean.t
b/t/Boolean.t
index
865953c
..
0f04913
100755
(executable)
--- 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' );