Skip to content

Latest commit

 

History

History
18 lines (9 loc) · 195 Bytes

fn_assert_exit.md

File metadata and controls

18 lines (9 loc) · 195 Bytes

Best: assert_exit

Asserts that the test exits with a specific exit code.

Arguments:

  • $1 [number] -- The expected exit code.

Example:

assert_exit 1
exit 0