Fixing C4::Boolean tests, in August 2009 we changed the die to a warn, tests didn...
authorChris Cormack <chrisc@catalyst.net.nz>
Sat, 4 Sep 2010 08:51:50 +0000 (20:51 +1200)
committerGalen Charlton <gmcharlt@gmail.com>
Wed, 6 Oct 2010 11:58:33 +0000 (07:58 -0400)
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
t/Boolean.t

index 4810833..4e67ee8 100755 (executable)
@@ -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'
    ],
 );
 }