Fix tests.

This commit is contained in:
Jacob Hoffman-Andrews
2020-07-02 23:07:49 -07:00
parent b53de7a7ed
commit 7fce93d1c8
2 changed files with 3 additions and 3 deletions

View File

@@ -518,7 +518,7 @@ impl Request {
/// .build();
/// assert_eq!(req1.get_host().unwrap(), "cool.server");
///
/// let req2 = ureq::post("/some/path")
/// let req2 = ureq::post("http://localhost/some/path")
/// .build();
/// assert_eq!(req2.get_host().unwrap(), "localhost");
/// ```