aboutsummaryrefslogtreecommitdiff
path: root/xtask/tests/tidy.rs
diff options
context:
space:
mode:
Diffstat (limited to 'xtask/tests/tidy.rs')
-rw-r--r--xtask/tests/tidy.rs7
1 files changed, 1 insertions, 6 deletions
diff --git a/xtask/tests/tidy.rs b/xtask/tests/tidy.rs
index 14f0c672d..d65a2acbc 100644
--- a/xtask/tests/tidy.rs
+++ b/xtask/tests/tidy.rs
@@ -53,11 +53,9 @@ fn rust_files_are_tidy() {
53fn check_licenses() { 53fn check_licenses() {
54 let expected = " 54 let expected = "
550BSD OR MIT OR Apache-2.0 550BSD OR MIT OR Apache-2.0
56Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT
57Apache-2.0 OR BSL-1.0 56Apache-2.0 OR BSL-1.0
58Apache-2.0 OR MIT 57Apache-2.0 OR MIT
59Apache-2.0/MIT 58Apache-2.0/MIT
60Apache-2.0
61BSD-2-Clause 59BSD-2-Clause
62BSD-3-Clause 60BSD-3-Clause
63CC0-1.0 61CC0-1.0
@@ -84,10 +82,7 @@ Zlib
84 .collect::<Vec<_>>(); 82 .collect::<Vec<_>>();
85 licenses.sort(); 83 licenses.sort();
86 licenses.dedup(); 84 licenses.dedup();
87 assert_eq!( 85 assert_eq!(licenses, expected);
88 licenses.iter().filter(|license| !expected.contains(license)).collect::<Vec<_>>(),
89 Vec::<&&str>::new()
90 );
91} 86}
92 87
93fn check_todo(path: &Path, text: &str) { 88fn check_todo(path: &Path, text: &str) {