third_party_rust_tower/tower-test
Eliza Weisman db43c07e96
tower: fix annoying clippy lints (#639)
This fixes a bunch of minor clippy lints. None of them were particularly
major, but I was getting tired of the warnings showing up in vscode.

The one lint that had to be ignored rather than fixed is the
`clippy::bool_assert_comparison` lint, which triggers on the
`tower_test::assert_request_eq!` macro. The lint triggers when writing
code like `assert_eq!(whatever, true)` rather than simply
`assert!(whatever)`. In this case, this occurs because the macro makes
an assertion about a request value, and in _some_ tests, the request
type is `bool`. We can't change this to use `assert!`, because in most
cases, when the request is not `bool`, we actually do need `assert_eq!`,
so I ignored that warning.
2022-02-11 11:11:15 -08:00
..
src tower: fix annoying clippy lints (#639) 2022-02-11 11:11:15 -08:00
tests tests: print traces from tests (#479) 2020-10-28 11:40:27 -04:00
Cargo.toml Fix sometimes-unused dependencies (#603) 2022-01-17 15:25:07 -08:00
CHANGELOG.md test: update tower-test to v0.4 (#512) 2021-01-07 14:33:55 -08:00
LICENSE Prepare release (#273) 2019-04-26 21:31:25 -07:00
README.md chore: improve README docs, add links (#527) 2021-01-13 10:47:42 -08:00

Tower Test

Utilities for writing client and server Service tests.

Crates.io Documentation Documentation (master) MIT licensed Build Status Discord chat

License

This project is licensed under the MIT license.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Tower by you, shall be licensed as MIT, without any additional terms or conditions.