From 6d581f9f6b03bf7af0036d4ec28c01b24ffc6904 Mon Sep 17 00:00:00 2001 From: Chris Cormack Date: Sat, 4 Sep 2010 20:51:50 +1200 Subject: [PATCH] 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 --- t/Boolean.t | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/t/Boolean.t b/t/Boolean.t index 4810833643..4e67ee8928 100755 --- a/t/Boolean.t +++ b/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' ], ); } -- 2.39.5