MCPcopy Index your code
hub / github.com/Rust-Web-Development/code / run

Function run

ch_11/src/profanity.rs:83–88  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

81
82 #[tokio::test]
83 async fn run() {
84 let handler = run_mock();
85 censor_profane_words().await;
86 no_profane_words().await;
87 let _ = handler.sender.send(1);
88 }
89
90 fn run_mock() -> OneshotHandler {
91 // SAFETY: This test runs single-threaded; no other threads access env vars.

Callers

nothing calls this directly

Calls 3

run_mockFunction · 0.85
censor_profane_wordsFunction · 0.85
no_profane_wordsFunction · 0.85

Tested by

no test coverage detected