Skip to content

Commit c062d97

Browse files
committed
clippy-Deny useless vecs in test code
There's no reason to allow these, and now that they've been removed, we should simply deny them in tests like we do in normal code.
1 parent 31c41d6 commit c062d97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/check-lint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,4 +110,4 @@ CLIPPY() {
110110

111111
CLIPPY
112112
# We allow some additional warnings in tests which we should fix, but which aren't currently a priority
113-
CLIPPY --tests "-A clippy::bool_assert_comparison -A clippy::assertions_on_constants -A clippy::needless-late-init -A clippy::field_reassign_with_default -A clippy::unnecessary_literal_unwrap -A clippy::useless_vec"
113+
CLIPPY --tests "-A clippy::bool_assert_comparison -A clippy::assertions_on_constants -A clippy::needless-late-init -A clippy::field_reassign_with_default -A clippy::unnecessary_literal_unwrap"

0 commit comments

Comments
 (0)