5 ms·
What would happen is the test would pass, as the logical not of 2 is 0. To address this: many CI pipelines allow you to specify which exot codes to succeed and
by Normal_gaussian 5y ago
What would happen is the test would pass, as the logical not of 2 is 0.
To address this: many CI pipelines allow you to specify which exot codes to succeed and fail on per job, or if it doesn't the one liner will need some boolean logic to check the exit code.