Adding training commer to be more consistent with prior format.
This commit is contained in:
parent
49cf0c4a55
commit
940d5ca3d0
@ -117,7 +117,7 @@ macro_rules! assert_eq {
|
||||
(left_val, right_val) => {
|
||||
if !(*left_val == *right_val) {
|
||||
panic!(r#"assertion failed: `(left == right)`
|
||||
left: `{:?}`
|
||||
left: `{:?}`,
|
||||
right: `{:?}`"#, left_val, right_val)
|
||||
}
|
||||
}
|
||||
@ -128,7 +128,7 @@ macro_rules! assert_eq {
|
||||
(left_val, right_val) => {
|
||||
if !(*left_val == *right_val) {
|
||||
panic!(r#"assertion failed: `(left == right)`
|
||||
left: `{:?}`
|
||||
left: `{:?}`,
|
||||
right: `{:?}`: {}"#, left_val, right_val,
|
||||
format_args!($($arg)+))
|
||||
}
|
||||
@ -165,7 +165,7 @@ macro_rules! assert_ne {
|
||||
(left_val, right_val) => {
|
||||
if *left_val == *right_val {
|
||||
panic!(r#"assertion failed: `(left != right)`
|
||||
left: `{:?}`
|
||||
left: `{:?}`,
|
||||
right: `{:?}`"#, left_val, right_val)
|
||||
}
|
||||
}
|
||||
@ -176,7 +176,7 @@ macro_rules! assert_ne {
|
||||
(left_val, right_val) => {
|
||||
if *left_val == *right_val {
|
||||
panic!(r#"assertion failed: `(left != right)`
|
||||
left: `{:?}`
|
||||
left: `{:?}`,
|
||||
right: `{:?}`: {}"#, left_val, right_val,
|
||||
format_args!($($arg)+))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user