From e1565191bf66f8bcd3dedc307a2972482e1fd402 Mon Sep 17 00:00:00 2001 From: Christophe Maudoux Date: Fri, 18 Jan 2019 21:38:24 +0100 Subject: [PATCH] WIP - Fix unit test --- lemonldap-ng-common/t/02-Common-Conf-File.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lemonldap-ng-common/t/02-Common-Conf-File.t b/lemonldap-ng-common/t/02-Common-Conf-File.t index 8dcdf048f..2a09730cc 100644 --- a/lemonldap-ng-common/t/02-Common-Conf-File.t +++ b/lemonldap-ng-common/t/02-Common-Conf-File.t @@ -49,7 +49,7 @@ for ( my $i = 0 ; $i < @test ; $i++ ) { open F, 'file t/lmConf-1.json |'; $_ = join( '', ); close F; - ok( /(ascii|utf-?8)/si, "File is $1 encoded" ); + ok( /(ascii|utf-?8|json\s?data)/si, "File is $1 encoded" ); print STDERR "Result: $_\n"; $count++; }; -- GitLab