Skip to content

Commit 94bf52a

Browse files
authored
Merge pull request #353 from epage/get
fix(assert): Allow access to Redactions
2 parents 7515153 + 99a9295 commit 94bf52a

File tree

1 file changed

+4
-0
lines changed
  • crates/snapbox/src/assert

1 file changed

+4
-0
lines changed

crates/snapbox/src/assert/mod.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -426,6 +426,10 @@ impl Assert {
426426
pub fn selected_action(&self) -> Action {
427427
self.action
428428
}
429+
430+
pub fn redactions(&self) -> &crate::Redactions {
431+
&self.substitutions
432+
}
429433
}
430434

431435
impl Default for Assert {

0 commit comments

Comments
 (0)