From 925c1f8cb2253b443211e5a562d6ac9467be51a6 Mon Sep 17 00:00:00 2001 From: HampusM Date: Tue, 1 Aug 2023 17:30:40 +0200 Subject: test: remove vec macro usages in IteratorExt unit tests --- macros/src/util/iterator_ext.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'macros/src/util') diff --git a/macros/src/util/iterator_ext.rs b/macros/src/util/iterator_ext.rs index 17482ae..c4af0f2 100644 --- a/macros/src/util/iterator_ext.rs +++ b/macros/src/util/iterator_ext.rs @@ -55,7 +55,7 @@ mod tests } assert_eq!( - vec![ + [ Fruit { name: "Apple".to_string(), }, @@ -82,7 +82,7 @@ mod tests ); assert_eq!( - vec![ + [ Fruit { name: "Banana".to_string(), }, -- cgit v1.2.3-18-g5258