From 51150558955853dc2d291411bd817edcd9ab7d62 Mon Sep 17 00:00:00 2001 From: Dirk Date: Thu, 29 Sep 2016 21:44:54 +0200 Subject: [PATCH] update --- t/11_hpkp.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/11_hpkp.t b/t/11_hpkp.t index 3f9d4a3..0971919 100755 --- a/t/11_hpkp.t +++ b/t/11_hpkp.t @@ -56,7 +56,7 @@ like($out,'/Root CA match\: 5C8kvU039KouVrl52D0eZSGf4Onjo4Khs8tmyTlV3nU/',"The ok( exists $findings{"hpkp_MTIzYmFkMTIzYmFkMTIzYmFkMTIzYmFkMTIzYmFkMTI"},"We have a finding for SPKI MTIzYmFkMTIzYmFkMTIzYmFkMTIzYmFkMTIzYmFkMTI"); $tests++; like($findings{"hpkp_MTIzYmFkMTIzYmFkMTIzYmFkMTIzYmFkMTIzYmFkMTI"}->{finding},'/doesn\'t match anything/',"It doesn't match indeed"); $tests++; is($findings{"hpkp_MTIzYmFkMTIzYmFkMTIzYmFkMTIzYmFkMTIzYmFkMTI"}->{severity}, "INFO", "The finding is informational"); $tests++; -like($out,'/Unmatched SPKI\: MTIzYmFkMTIzYmFkMTIzYmFkMTIzYmFkMTIzYmFkMTI/',"There is an 'unmatched key' in the text output"); $tests++; +like($out,'/Unmatched SPKI\: MTIzYmFkMTIzYmFkMTIzYmFkMTIzYmFkMTIzYmFkMTI/',"There is an 'unmatched key' in the text output"); $tests++; like($findings{hpkp_keys}->{finding},'/5 keys pinned/',"5 keys pinned in json"); $tests++; like($out,'/\# of keys: 5/',"5 keys pinned in text output"); $tests++;