Show differing results, if testcase fails
This commit is contained in:
parent
a073acd406
commit
bffc9ed962
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user