projects
/
koha.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adding a simple test for Service.pm
[koha.git]
/
t
/
Boolean.t
diff --git
a/t/Boolean.t
b/t/Boolean.t
index
4810833
..
4e67ee8
100755
(executable)
--- a/
t/Boolean.t
+++ b/
t/Boolean.t
@@
-55,10
+55,10
@@
BEGIN {
'"YES"', \&f, 'OK:1', 'YES' # verify case insensitivity
# Illegal strings
'"YES"', \&f, 'OK:1', 'YES' # verify case insensitivity
# Illegal strings
-
#
], [
-
# 'undef', \&f, C4::Boolean::INVALID_BOOLEAN_STRING_EXCEPTION
, undef
-
#
], [
-
# '"foo"', \&f, C4::Boolean::INVALID_BOOLEAN_STRING_EXCEPTION
, 'foo'
+ ], [
+
'undef', \&f, 'OK:'
, undef
+ ], [
+
'"foo"', \&f, 'OK:'
, 'foo'
],
);
}
],
);
}