Skip to content

Commit cb0336b

Browse files
committed
doc test fix
1 parent 0bcfd9e commit cb0336b

File tree

1 file changed

+9
-12
lines changed

1 file changed

+9
-12
lines changed

src/cook/environment/env_reader.rs

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -31,18 +31,15 @@
3131
//!
3232
//! ## Test Code
3333
//!
34-
//! ```no_run
35-
//! // In tests, use stillwater::MockEnv for isolated environment testing
36-
//! // Example test structure (use in actual test files):
37-
//! //
38-
//! // use stillwater::MockEnv;
39-
//! //
40-
//! // fn test_process_with_config() {
41-
//! // let env = MockEnv::new()
42-
//! // .with_env("API_KEY", "test-key-123");
43-
//! //
44-
//! // process_with_config(&env).unwrap();
45-
//! // }
34+
//! ```ignore
35+
//! use stillwater::MockEnv;
36+
//!
37+
//! fn test_process_with_config() {
38+
//! let env = MockEnv::new()
39+
//! .with_env("API_KEY", "test-key-123");
40+
//!
41+
//! process_with_config(&env).unwrap();
42+
//! }
4643
//! ```
4744
4845
use std::ffi::OsString;

0 commit comments

Comments
 (0)