Skip to content

Commit

Permalink
Add #[cfg] to unit test for diffs
Browse files Browse the repository at this point in the history
  • Loading branch information
TehPers committed Aug 19, 2024
1 parent 6da8719 commit eafc9fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/assertions/general/assertions/to_equal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ mod tests {
}

#[test]
#[cfg(feature = "diff")]
fn do_diff() {
// Show diffs for longer values
expect!(
Expand Down

0 comments on commit eafc9fb

Please sign in to comment.