From 73f1efb1b2f5fb5f41b889b7f514d5e0e7a5a435 Mon Sep 17 00:00:00 2001 From: "nick.kino" <79381743+nick1udwig@users.noreply.github.com> Date: Thu, 11 Jul 2024 11:00:01 -0700 Subject: [PATCH] Update run-tests.md --- src/kit/run-tests.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kit/run-tests.md b/src/kit/run-tests.md index 29b0e7de..e729b795 100644 --- a/src/kit/run-tests.md +++ b/src/kit/run-tests.md @@ -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.