From 7589fc8077a26dfbefdf7fefda30edade7123f08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20M=C3=BCller?= Date: Wed, 7 Aug 2024 08:03:23 -0700 Subject: [PATCH] Fix --- tests/helpers.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 {