aboutsummaryrefslogtreecommitdiff
path: root/macros/src/util/iterator_ext.rs
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2023-08-01 17:30:40 +0200
committerHampusM <hampus@hampusmat.com>2023-08-01 17:30:40 +0200
commit925c1f8cb2253b443211e5a562d6ac9467be51a6 (patch)
tree83a78b961e68506864328f6dbddd515be0c5cda2 /macros/src/util/iterator_ext.rs
parent6400a3b818eac49b35cd6e73a7c4df6540285bf6 (diff)
test: remove vec macro usages in IteratorExt unit tests
Diffstat (limited to 'macros/src/util/iterator_ext.rs')
-rw-r--r--macros/src/util/iterator_ext.rs4
1 files changed, 2 insertions, 2 deletions
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(),
},