Skip to content

Commit

Permalink
Update run-tests.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nick1udwig authored Jul 11, 2024
1 parent 3ce83f8 commit 73f1efb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kit/run-tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,5 +160,5 @@ The interface is defined as:
A `run` `request` starts the test.
A `run` `response` marks the end of a test, and is either an `Ok` Result, indicating success, or a `Err` Result with information as to where the error occurred.

In the Rust language, a helper macro for failures can be found in [`tester_types.rs`](https://github.com/kinode-dao/kinode/blob/main/kinode/packages/tester/tester_types.rs).
In the Rust language, a helper macro for failures can be found in [`tester_lib.rs`](https://github.com/kinode-dao/kinode/blob/main/kinode/packages/tester/tester_lib.rs).
The macro is `fail!()`: it automatically sends the Response as specified above, filing out the fields, and exits.

0 comments on commit 73f1efb

Please sign in to comment.