C4::Boolean has had its' exception changed to warns, the test was erroring falsely

This commit is contained in:
Chris Cormack 2009-12-13 22:11:24 +13:00 committed by Henri-Damien LAURENT
parent b21f235b9e
commit 11c0adea4e
1 changed files with 4 additions and 4 deletions

View File

@ -54,10 +54,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, C4::Boolean::INVALID_BOOLEAN_STRING_EXCEPTION, undef
# ], [
# '"foo"', \&f, C4::Boolean::INVALID_BOOLEAN_STRING_EXCEPTION, 'foo'
],
);
}