We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
assert_equal
1 parent dbdbf87 commit 8cef71fCopy full SHA for 8cef71f
src/lib.rs
@@ -3981,9 +3981,10 @@ where
3981
/// **Panics** on assertion failure with a message that shows the
3982
/// two iteration elements.
3983
///
3984
-/// ```ignore
+/// ```should_panic
3985
+/// # use itertools::assert_equal;
3986
/// assert_equal("exceed".split('c'), "excess".split('c'));
-/// // ^PANIC: panicked at 'Failed assertion Some("eed") == Some("ess") for iteration 1',
3987
+/// // ^PANIC: panicked at 'Failed assertion Some("eed") == Some("ess") for iteration 1'.
3988
/// ```
3989
pub fn assert_equal<I, J>(a: I, b: J)
3990
where
0 commit comments