|
Checks that the exit code is equal to the specified exit code.
-
code
:
int
-
The exit code to check for.
|
|
Does not check the exit code.
|
|
Checks that the exit code is equal to the specified exit code and prints the specified message when it is not.
-
code
:
int
-
The exit code to check for.
-
message
:
string
-
The message to print when not exit code is not matched.
|
|
**Default**. Checks that the exit code is 0 .
|
|
Checks that the exit code is 0 and prints the specified message when it is not.
-
message
:
string
-
The message to print when the exit code is not 0 .
|