Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
oscartbeaumont committed Jul 9, 2024
1 parent 35846df commit 8b55de1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/tests/type_collection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ fn type_collection_export() {
let mut type_map = TypeMap::default();
TypeCollection::default()
.register::<A>()
.export(&mut type_map);
.collect(&mut type_map);
assert_eq!(type_map.len(), 2);
}

Expand All @@ -38,7 +38,7 @@ fn type_collection_merge() {
.register::<D>()
.extend(a)
.extend(b)
.export(&mut type_map);
.collect(&mut type_map);
assert_eq!(type_map.len(), 4);

// Check it compile with any valid arg
Expand All @@ -54,7 +54,7 @@ fn type_collection_duplicate_register_ty() {
TypeCollection::default()
.register::<C>()
.register::<C>()
.export(&mut type_map);
.collect(&mut type_map);
assert_eq!(type_map.len(), 1);
}

Expand Down

0 comments on commit 8b55de1

Please sign in to comment.