diff --git a/src/assertions/general/assertions/to_equal.rs b/src/assertions/general/assertions/to_equal.rs index b184da9..2ddb0ad 100644 --- a/src/assertions/general/assertions/to_equal.rs +++ b/src/assertions/general/assertions/to_equal.rs @@ -82,6 +82,7 @@ mod tests { } #[test] + #[cfg(feature = "diff")] fn do_diff() { // Show diffs for longer values expect!(