[Koha-patches] [PATCH 75/92] C4::Boolean has had its' exception changed to warns, the test was erroring falsely

Henri-Damien LAURENT henridamien.laurent at biblibre.com
Tue Dec 22 01:21:08 CET 2009


From: Chris Cormack <chris at bigballofwax.co.nz>

---
 t/Boolean.t |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/t/Boolean.t b/t/Boolean.t
index 1d179c5..f0d2cc1 100755
--- a/t/Boolean.t
+++ b/t/Boolean.t
@@ -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'
    ],
 );
 }
-- 
1.6.3.3




More information about the Koha-patches mailing list