do not output the whole output

text + html , comp_ok --> ok
This commit is contained in:
Dirk
2025-07-11 14:42:05 +02:00
parent 137c7e2fbb
commit c6062a2254

View File

@ -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++;