Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExitSuccessfully ¶
func ExitSuccessfully() *exitMatcher
The Exit matcher operates on a session:
Expect(session).Should(ExitSuccessfully())
Exit passes if the session has already exited and has exited with code 0.
Note that the process must have already exited. To wait for a process to exit, use Eventually:
Eventually(session, 3).Should(ExitSuccessfully())
Types ¶
Click to show internal directories.
Click to hide internal directories.