We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c745d2 commit cbdb6bdCopy full SHA for cbdb6bd
xtask/tests/tidy.rs
@@ -53,11 +53,9 @@ fn rust_files_are_tidy() {
53
fn check_licenses() {
54
let expected = "
55
0BSD OR MIT OR Apache-2.0
56
-Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT
57
Apache-2.0 OR BSL-1.0
58
Apache-2.0 OR MIT
59
Apache-2.0/MIT
60
-Apache-2.0
61
BSD-2-Clause
62
BSD-3-Clause
63
CC0-1.0
@@ -84,10 +82,7 @@ Zlib
84
82
.collect::<Vec<_>>();
85
83
licenses.sort();
86
licenses.dedup();
87
- assert_eq!(
88
- licenses.iter().filter(|license| !expected.contains(license)).collect::<Vec<_>>(),
89
- Vec::<&&str>::new()
90
- );
+ assert_eq!(licenses, expected);
91
}
92
93
fn check_todo(path: &Path, text: &str) {
0 commit comments