Skip to content

Commit 791d963

Browse files
committed
Update test result message format
1 parent 26c4295 commit 791d963

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

evaluate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ def main():
143143
failed += 1
144144

145145
print(
146-
f"{ANSI_BRIGHT_MAGENTA}[EVALUATION COMPLETE]{ANSI_RESET} {passed} tests passed, {failed} tests failed"
146+
f"{ANSI_BRIGHT_MAGENTA}[EVALUATION COMPLETE]{ANSI_RESET} {passed} test{'' if passed == 1 else 's'} passed, {failed} test{'' if failed == 1 else 's'} failed"
147147
)
148148

149149
if __name__ == "__main__":

0 commit comments

Comments
 (0)