Skip to content

Commit 9edbd2e

Browse files
authored
tests: fix typos in multipart and redirect tests (#2738)
1 parent e03d6f4 commit 9edbd2e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/async_impl/multipart.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ impl<P: PartProps> FormParts<P> {
402402
}
403403

404404
// If predictable, computes the length the request will have
405-
// The length should be preditable if only String and file fields have been added,
405+
// The length should be predictable if only String and file fields have been added,
406406
// but not if a generic reader has been added;
407407
pub(crate) fn compute_length(&mut self) -> Option<u64> {
408408
let mut length = 0u64;

tests/redirect.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ async fn test_redirect_limit_to_1() {
403403
.build()
404404
.unwrap();
405405
let res = client.get(&url).send().await.unwrap_err();
406-
// If the maxmium limit is 1, then the final uri should be /redirect/1
406+
// If the maximum limit is 1, then the final uri should be /redirect/1
407407
assert_eq!(
408408
res.url().unwrap().as_str(),
409409
format!("http://{}/redirect/1", server.addr()).as_str()

0 commit comments

Comments
 (0)