diff --git a/tests/helpers.rs b/tests/helpers.rs index 9aac480..b02f2de 100644 --- a/tests/helpers.rs +++ b/tests/helpers.rs @@ -121,9 +121,10 @@ macro_rules! assert_get_err { #[macro_export] macro_rules! assert_no_err { - ($recv:expr) => { - assert!(dbg!(get_error($recv, None)).is_none()); - }; + ($recv:expr) => {{ + let err = get_error($recv, None); + assert!(err.is_none(), "{err:?}"); + }}; } fn gen_image_name() -> PathBuf {