From c6062a22543174aec97b27fc29d39ccf8282df4c Mon Sep 17 00:00:00 2001 From: Dirk Date: Fri, 11 Jul 2025 14:42:05 +0200 Subject: [PATCH] do not output the whole output text + html , comp_ok --> ok --- t/32_isHTML_valid.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/32_isHTML_valid.t b/t/32_isHTML_valid.t index de6fee9..2f843f5 100755 --- a/t/32_isHTML_valid.t +++ b/t/32_isHTML_valid.t @@ -48,7 +48,7 @@ $edited_html =~ s/'/'/g; $diff = diff \$edited_html, \$out; -cmp_ok($edited_html, "eq", $out, "Checking if HTML file matches terminal output") or +ok($edited_html eq $out, "Checking if HTML file matches terminal output") or diag ("\n%s\n", "$diff"); $tests++; @@ -82,7 +82,7 @@ $debughtml =~ s/.*Using bash .*\n//g; $diff = diff \$debughtml, \$html; -cmp_ok($debughtml, "eq", $html, "Checking if HTML file created with --debug 4 matches HTML file created without --debug") or +ok($debughtml eq $html, "Checking if HTML file created with --debug 4 matches HTML file created without --debug") or diag ("\n%s\n", "$diff"); $tests++;