Commit 18ce92ed authored by Ben Boeckel's avatar Ben Boeckel

cargo: update itertools to 0.8

parent c3161bb6
......@@ -13,7 +13,7 @@ readme = "README.md"
keywords = ["git", "utility"]
[dev-dependencies]
itertools = "~0.7"
itertools = "~0.8"
[dependencies]
lazy_static = "^1.1"
......
......@@ -425,10 +425,12 @@ fn test_work_area_setup_submodule() {
config
.iter()
.map(|(key, value)| (key.as_str(), value.as_str()))
.sorted_by(|ref a, ref b| Ord::cmp(&a.0, &b.0)),
.sorted_by(|ref a, ref b| Ord::cmp(&a.0, &b.0))
.collect::<Vec<_>>(),
)
})
.sorted_by(|ref a, ref b| Ord::cmp(&a.0, &b.0));
.sorted_by(|ref a, ref b| Ord::cmp(&a.0, &b.0))
.collect::<Vec<_>>();
assert_eq!(
submodule_config,
......@@ -461,10 +463,12 @@ fn test_work_area_setup_submodule_custom_name() {
config
.iter()
.map(|(key, value)| (key.as_str(), value.as_str()))
.sorted_by(|ref a, ref b| Ord::cmp(&a.0, &b.0)),
.sorted_by(|ref a, ref b| Ord::cmp(&a.0, &b.0))
.collect::<Vec<_>>(),
)
})
.sorted_by(|ref a, ref b| Ord::cmp(&a.0, &b.0));
.sorted_by(|ref a, ref b| Ord::cmp(&a.0, &b.0))
.collect::<Vec<_>>();
assert_eq!(
submodule_config,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment