Skip to content

Commit

Permalink
Merge pull request #325 from epage/harness
Browse files Browse the repository at this point in the history
fix: Deprecate Harness
  • Loading branch information
epage authored May 17, 2024
2 parents 6240ddf + 0dd2510 commit 0143882
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/snapbox/src/harness.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
//! }
//! ```
#![allow(deprecated)]

use crate::data::DataFormat;
use crate::Action;

Expand All @@ -45,6 +47,7 @@ use libtest_mimic::Trial;
/// [`Cargo and rustupes?cargo-and-rustups
///
/// See [`harness`][crate::harness] for more details
#[deprecated(since = "0.5.12", note = "Replaced with `tryfn` crate")]
pub struct Harness<S, T> {
root: std::path::PathBuf,
overrides: Option<ignore::overrides::Override>,
Expand Down

0 comments on commit 0143882

Please sign in to comment.