From 37c74eb059250860f5ac328e00220fa8cee7bbce Mon Sep 17 00:00:00 2001 From: IAvecilla Date: Thu, 22 Feb 2024 18:06:52 -0300 Subject: [PATCH] Add doc comment explaining the unwraps usage --- node/tests/src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/node/tests/src/main.rs b/node/tests/src/main.rs index 023bf890..dd695163 100644 --- a/node/tests/src/main.rs +++ b/node/tests/src/main.rs @@ -71,6 +71,7 @@ pub async fn start_tests_pod() -> anyhow::Result<()> { } /// Sanity test for the RPC server. +/// We use unwraps here because this function is intended to be used like a test. pub async fn sanity_test() { let config_file_path = get_config_path(); let nodes_socket = fs::read_to_string(config_file_path).unwrap();