Skip to content

Commit

Permalink
Add doc comment explaining the unwraps usage
Browse files Browse the repository at this point in the history
  • Loading branch information
IAvecilla committed Feb 22, 2024
1 parent 9bf46f5 commit 37c74eb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions node/tests/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 37c74eb

Please sign in to comment.