assert_fails
This command succeeds if the subcommand inside fails. It's also possible to check the error message that is thrown. This command can appear in the global context.
Subcommands
Options
error_message
-
If this is specified, the error message must match the value given.
- The type is string
- There is no default value.