Skip to content

Commit 0e20a5a

Browse files
authored
fix(mimic)!: Remove RunMode (#119)
Let's keep mimic simple and focus only on tests.
2 parents d469e08 + fdaaa7e commit 0e20a5a

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

  • crates/libtest2-mimic/src

crates/libtest2-mimic/src/lib.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@
2424
//#![warn(clippy::print_stderr)]
2525
#![warn(clippy::print_stdout)]
2626

27-
pub use libtest_json::RunMode;
28-
2927
pub struct Harness {
3028
raw: Vec<std::ffi::OsString>,
3129
cases: Vec<Trial>,
@@ -161,10 +159,6 @@ impl<'t> TestContext<'t> {
161159
.ignore_for(reason)
162160
.map_err(|e| RunError { inner: e })
163161
}
164-
165-
pub fn current_mode(&self) -> RunMode {
166-
self.inner.current_mode()
167-
}
168162
}
169163

170164
#[doc = include_str!("../README.md")]

0 commit comments

Comments
 (0)