Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Martchus <[email protected]>
  • Loading branch information
josegomezr and Martchus authored Oct 18, 2023
1 parent 3ddf7ef commit 4ae6c42
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions docs/WritingTests.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ sub pre_run_hook () {

==== `post_fail_hook`

It is called only when the test execution failed, it is useful to upload log files
or determine the state of the machine.
It is called after `run()` failed. It is useful to upload log files
or to determine the state of the machine.

An example usage:

Expand All @@ -144,8 +144,7 @@ sub post_fail_hook () {

==== `post_run_hook`

It is called after a the execution function, it will be executed regardless of
the result of the test run.
It is called after `run()` regardless of the result of the test run.

An example usage:

Expand Down

0 comments on commit 4ae6c42

Please sign in to comment.