- Commit
- 0378b315751c83690121936771f591612ec4e810
- Parent
- 1998db887e385e786c0eac4b1973bcddc6406bdc
- Author
- John MacFarlane <jgm@berkeley.edu>
- Date
Fixed exit code for pathological tests.
My personal build of CMark ✏️
Fixed exit code for pathological tests.
1 file changed, 1 insertion, 1 deletion
Status | File Name | N° Changes | Insertions | Deletions |
Modified | test/pathological_tests.py | 2 | 1 | 1 |
diff --git a/test/pathological_tests.py b/test/pathological_tests.py @@ -127,7 +127,7 @@ if ignored > 0: print("Ignoring these allowed failures:") for x in results['ignored']: print(x) -if (results['failed'] == 0 and results['errored'] == 0): +if failed == 0 and errored == 0: exit(0) else: exit(1)