Skip to content

Commit 403acff

Browse files
committed
tests: drop dedupe from static_libs test
Now that the upstream Cargo nightly bug has been resolved, we don't expect to need to do consecutive deduplication on the native-static-libs output ourselves.
1 parent 4c9b28b commit 403acff

File tree

3 files changed

+1
-21
lines changed

3 files changed

+1
-21
lines changed

Cargo.lock

Lines changed: 0 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,4 @@ name = "rustls_ffi"
3535
crate-type = ["lib", "staticlib"]
3636

3737
[dev-dependencies]
38-
itertools = "0.11.0"
3938
regex = "1.9.6"

tests/static_libs.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
use itertools::Itertools;
21
use regex::Regex;
32
use std::process::Command;
43

@@ -24,9 +23,7 @@ fn verify_static_libs() {
2423
.as_str();
2524

2625
// We should find the expected native-static-libs output for the platform in question.
27-
// Note that we remove duplicate consecutive entries, but not duplicate entries in general
28-
// as these can be intended and have meaning on specific platforms.
29-
let actual_linker_parts: Vec<_> = native_libs.split_whitespace().dedup().collect();
26+
let actual_linker_parts: Vec<_> = native_libs.split_whitespace().collect();
3027
assert_eq!(
3128
actual_linker_parts,
3229
expected_linker_parts(),

0 commit comments

Comments
 (0)