Browse Source

Fixing C4::Boolean tests, in August 2009 we changed the die to a warn, tests didn't reflect this. Now we should have 100% of C4::Boolean

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
3.2.x
Chris Cormack 14 years ago
committed by Galen Charlton
parent
commit
6d581f9f6b
  1. 8
      t/Boolean.t

8
t/Boolean.t

@ -55,10 +55,10 @@ BEGIN {
'"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'
],
);
}

Loading…
Cancel
Save