Skip to content

Commit 99a9295

Browse files
committed
fix(assert): Allow access to Redactions
This can be used for very custom hacks
1 parent 7515153 commit 99a9295

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)