We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d004a7 commit ab538eeCopy full SHA for ab538ee
src/extra_assertions.rs
@@ -1,6 +1,8 @@
1
//! Macros for defining extra assertions that should only be checked in testing
2
//! and/or CI when the `testing_only_extra_assertions` feature is enabled.
3
4
+/// Simple macro that forwards to assert! when using
5
+/// testing_only_extra_assertions.
6
#[macro_export]
7
macro_rules! extra_assert {
8
( $cond:expr ) => {
@@ -15,6 +17,8 @@ macro_rules! extra_assert {
15
17
};
16
18
}
19
20
+/// Simple macro that forwards to assert_eq! when using
21
22
23
macro_rules! extra_assert_eq {
24
( $lhs:expr , $rhs:expr ) => {
0 commit comments