about summary refs log tree commit diff
path: root/tests/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-10-07 09:36:51 +0000
committerbors <bors@rust-lang.org>2021-10-07 09:36:51 +0000
commita04a7cd9f96464b2300af5881a53bb6d1a905cb4 (patch)
tree540e28ba2c0f5f6814639c99bbc555cc6ca096cb /tests/codegen/src-hash-algorithm
parentb7f3f7f6082679da2da9a0b3faf1b5adef3afd3b (diff)
parent86811e9b1ba28abd8ba00ece1670c7cfd1284817 (diff)
downloadrust-a04a7cd9f96464b2300af5881a53bb6d1a905cb4.tar.gz
rust-a04a7cd9f96464b2300af5881a53bb6d1a905cb4.zip
Auto merge of #7779 - rust-lang:test_module, r=flip1995
make test module detection more strict

I started with some small improvements to clippy_utils/src/lib.rs, but then found that our "test" module detection would also catch words containing "test" like e.g. "attestation". So I made this a bit more strict (splitting by `'_'` and checking for `test` or `tests`), adding a test case as I went.

---

*Please write a short comment explaining your change (or "none" for internal only changes)*

changelog: none
Diffstat (limited to 'tests/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions