Archived
1
0
Fork 0

chore: fix clippy warnings

This commit is contained in:
Dmitriy Pleshevskiy 2021-10-22 00:29:09 +03:00
parent c8940bae1c
commit 9d700a3e99

View file

@ -198,7 +198,7 @@ mod tests {
assert_eq!(list, List::from(vec![FIRST_MIGRATION])); assert_eq!(list, List::from(vec![FIRST_MIGRATION]));
list.push(Migration::new(SECOND_MIGRATION)); list.push(Migration::new(SECOND_MIGRATION));
assert_eq!(list, List::from(vec![FIRST_MIGRATION, SECOND_MIGRATION])) assert_eq!(list, List::from(vec![FIRST_MIGRATION, SECOND_MIGRATION]));
} }
#[test] #[test]
@ -209,7 +209,7 @@ mod tests {
assert_eq!(list, List::from(vec![FIRST_MIGRATION])); assert_eq!(list, List::from(vec![FIRST_MIGRATION]));
list.push_name(&String::from(SECOND_MIGRATION)); list.push_name(&String::from(SECOND_MIGRATION));
assert_eq!(list, List::from(vec![FIRST_MIGRATION, SECOND_MIGRATION])) assert_eq!(list, List::from(vec![FIRST_MIGRATION, SECOND_MIGRATION]));
} }
#[test] #[test]
@ -234,6 +234,6 @@ mod tests {
let applied_migrations = List::from(vec![FIRST_MIGRATION]); let applied_migrations = List::from(vec![FIRST_MIGRATION]);
let excluded = all_migrations.exclude(&applied_migrations); let excluded = all_migrations.exclude(&applied_migrations);
assert_eq!(excluded, List::from(vec![SECOND_MIGRATION])) assert_eq!(excluded, List::from(vec![SECOND_MIGRATION]));
} }
} }