Show differing results, if testcase fails

This commit is contained in:
Benedikt Heine 2018-06-19 17:15:28 +02:00
parent a073acd406
commit bffc9ed962

View File

@ -39,6 +39,8 @@ sub TestCase {
return 1; return 1;
} else { } else {
say "Testing test case '", basename($dir), "'… ", BOLD, RED, "Failed!", RESET; say "Testing test case '", basename($dir), "'… ", BOLD, RED, "Failed!", RESET;
say "Expected: '$refres'";
say "Got: '$testres'";
return 0; return 0;
} }
} }