From 7270cd00b6500de077f64f311eaea30ba924531c Mon Sep 17 00:00:00 2001 From: Mitch Turner Date: Mon, 21 Oct 2024 17:04:18 +0300 Subject: [PATCH] Improve test readibilty --- crates/fuel-core/src/executor.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/fuel-core/src/executor.rs b/crates/fuel-core/src/executor.rs index 086be3609a..a5c1c7e7ab 100644 --- a/crates/fuel-core/src/executor.rs +++ b/crates/fuel-core/src/executor.rs @@ -3342,11 +3342,11 @@ mod tests { .into_changes(); // then - let changes_contains_message = ChangesIterator::::new(&changes) + let no_messages_in_changes = ChangesIterator::::new(&changes) .iter_all::(None) .count() - > 0; - assert!(!changes_contains_message); + == 0; + assert!(no_messages_in_changes); } #[test]