style(tests): byte-string literal in the stalled-writer probe

clippy::byte_char_slices, pre-existing and unrelated to the refactor in the
previous commit — split out so that diff stays scoped. Restores a clean
`cargo clippy --all-features --all-targets`.
This commit is contained in:
Claude
2026-08-20 14:49:29 +00:00
parent 8f0da2a806
commit 9eaa85b9df
+1 -1
View File
@@ -1069,7 +1069,7 @@ fn body_smooth_trickle_evicted_at_stall_timeout() {
let start = std::time::Instant::now();
let mut evicted = false;
for _ in 0..200 { // up to ~20s; eviction expected at ~800ms
if s.write_all(&[b'x']).is_err() {
if s.write_all(b"x").is_err() {
evicted = true; // server closed on us -> write failed
break;
}