Skip to content

Commit 7c0201e

Browse files
committed
Upgrade ureq to 3.x
1 parent 83512ee commit 7c0201e

File tree

3 files changed

+45
-173
lines changed

3 files changed

+45
-173
lines changed

integration-test/Cargo.lock

Lines changed: 40 additions & 169 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

integration-test/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ libherokubuildpack = { version = "0.29", default-features = false, features = ["
1818
serde = { version = "1", features = ["derive"] }
1919
serde_json = "1"
2020
tempfile = "3"
21-
ureq = { version = "2", default-features = false, features = ["tls"] }
21+
ureq = { version = "3", default-features = false }

integration-test/src/lib.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,10 @@ pub fn http_get_expect_200(url: &str) -> String {
5757
thread_sleep_backoff(10, Duration::from_secs(1), Duration::from_secs(30), || {
5858
ureq::get(url).call()
5959
})
60-
.expect("")
61-
.into_string()
62-
.expect("")
60+
.expect("http request should be successful")
61+
.into_body()
62+
.read_to_string()
63+
.expect("http response body should be convertable to String")
6364
}
6465

6566
#[must_use]

0 commit comments

Comments
 (0)