From 4ae6c42a86a4768b66f4cb1e3dc32f7c3a48cce4 Mon Sep 17 00:00:00 2001 From: "Jose D. Gomez R" <1josegomezr@gmail.com> Date: Wed, 18 Oct 2023 14:41:19 +0200 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Martchus --- docs/WritingTests.asciidoc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/WritingTests.asciidoc b/docs/WritingTests.asciidoc index 0dc737efe703..4df67e4e2a65 100644 --- a/docs/WritingTests.asciidoc +++ b/docs/WritingTests.asciidoc @@ -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: @@ -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: