Skip to content

Commit

Permalink
Merge pull request #353 from epage/get
Browse files Browse the repository at this point in the history
fix(assert): Allow access to Redactions
  • Loading branch information
epage committed Jul 24, 2024
2 parents 7515153 + 99a9295 commit 94bf52a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions crates/snapbox/src/assert/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,10 @@ impl Assert {
pub fn selected_action(&self) -> Action {
self.action
}

pub fn redactions(&self) -> &crate::Redactions {
&self.substitutions
}
}

impl Default for Assert {
Expand Down

0 comments on commit 94bf52a

Please sign in to comment.