mirror of
				https://github.com/drwetter/testssl.sh.git
				synced 2025-10-30 21:35:26 +01:00 
			
		
		
		
	do not output the whole output
text + html , comp_ok --> ok
This commit is contained in:
		| @@ -48,7 +48,7 @@ $edited_html =~ s/'/'/g; | |||||||
|  |  | ||||||
| $diff = diff \$edited_html, \$out; | $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"); |      diag ("\n%s\n", "$diff"); | ||||||
|  |  | ||||||
| $tests++; | $tests++; | ||||||
| @@ -82,7 +82,7 @@ $debughtml =~ s/.*Using bash .*\n//g; | |||||||
|  |  | ||||||
| $diff = diff \$debughtml, \$html; | $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"); |      diag ("\n%s\n", "$diff"); | ||||||
| $tests++; | $tests++; | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Dirk
					Dirk