From 5157ced833fa3a502ab52af0d1e151e79f3dc979 Mon Sep 17 00:00:00 2001 From: Emma Heath Date: Tue, 14 Jan 2014 14:18:47 +1300 Subject: [PATCH] Bug:11540 increasing coverage of Charset.pm To test 1. run prove t/Charset.t 2. apply patch 3. run prove t/Charset.t notice more tests are run Signed-off-by: Tom Houlker --- t/Charset.t | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/t/Charset.t b/t/Charset.t index 7de3414..d4128e6 100755 --- a/t/Charset.t +++ b/t/Charset.t @@ -3,7 +3,7 @@ use strict; use warnings; -use Test::More tests => 6; +use Test::More tests => 7; BEGIN { use_ok('C4::Charset'); } @@ -18,3 +18,8 @@ ok(!utf8::is_utf8($octets), "verify that IsStringUTF8ish does not magically turn $octets = "a\xc2" . "c"; ok(!IsStringUTF8ish($octets), "verify octets are not valid UTF-8"); + +ok(!SetUTF8Flag(), 'Testing SetUTF8Flag' ); + + + -- 1.7.9.5