From eafc9fbe4da0b5d40512001c35ac1f676cc983ae Mon Sep 17 00:00:00 2001 From: TehPers Date: Sun, 18 Aug 2024 23:36:36 -0700 Subject: [PATCH] Add #[cfg] to unit test for diffs --- src/assertions/general/assertions/to_equal.rs | 1 + 1 file changed, 1 insertion(+) 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!(