Make client tests work without server feature #3790
Labels
A-tests
Area: tests.
C-refactor
Category: refactor. This would improve the clarity of internal code.
E-easy
Effort: easy. A task that would be a great starting point for a new contributor.
Running
cargo test --features http1,http2,client
fails to compile because it uses some types only available when theserver
feature is also enabled. Fixing this would just require adding or adjusting#[cfg(feature = ...)]
attributes, paying attention to the compiler error messages.For CI, the
ffi
job can be adjusted to no longer enableserver
when running the tests.The text was updated successfully, but these errors were encountered: