Skip to content

Commit

Permalink
refactor: remove raw string hashes
Browse files Browse the repository at this point in the history
  • Loading branch information
hamirmahal committed Dec 8, 2024
1 parent 7c871e9 commit 618341d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions axum/src/extract/path/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -949,7 +949,7 @@ mod tests {
let body = res.text().await;
assert_eq!(
body,
r#"Invalid URL: Cannot parse `res` with value `123123-123-123123`: UUID parsing failed: invalid group count: expected 5, found 3"#
r"Invalid URL: Cannot parse `res` with value `123123-123-123123`: UUID parsing failed: invalid group count: expected 5, found 3"
);
}

Expand All @@ -970,7 +970,7 @@ mod tests {
let body = res.text().await;
assert_eq!(
body,
r#"Invalid URL: Cannot parse `res` with value `456456-123-456456`: UUID parsing failed: invalid group count: expected 5, found 3"#
r"Invalid URL: Cannot parse `res` with value `456456-123-456456`: UUID parsing failed: invalid group count: expected 5, found 3"
);
}

Expand All @@ -992,6 +992,6 @@ mod tests {
let client = TestClient::new(app);
let res = client.get("/te/st/_thing").await;
let body = res.text().await;
assert_eq!(body, r#"Invalid URL: array types are not supported"#);
assert_eq!(body, r"Invalid URL: array types are not supported");
}
}

0 comments on commit 618341d

Please sign in to comment.