diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2020-02-25 14:42:00 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-25 20:42:00 +0100 |
commit | f47f3f96726a94dd2df5d68e3c786b5079089dd4 (patch) | |
tree | 1cad805473cc1b89d19d791f4f03011071d528eb /cli/http_util.rs | |
parent | fe181e2b4850a83344f0aa5840fffe97c8cb8839 (diff) |
Remove _async from method names since _sync are gone (#4128)
Diffstat (limited to 'cli/http_util.rs')
-rw-r--r-- | cli/http_util.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cli/http_util.rs b/cli/http_util.rs index 724c00b76..34140402d 100644 --- a/cli/http_util.rs +++ b/cli/http_util.rs @@ -238,7 +238,7 @@ mod tests { use super::*; #[tokio::test] - async fn test_fetch_sync_string() { + async fn test_fetch_string() { let http_server_guard = crate::test_util::http_server(); // Relies on external http server. See tools/http_server.py let url = @@ -388,7 +388,7 @@ mod tests { } #[tokio::test] - async fn test_fetch_with_cafile_sync_string() { + async fn test_fetch_with_cafile_string() { let http_server_guard = crate::test_util::http_server(); // Relies on external http server. See tools/http_server.py let url = @@ -402,7 +402,6 @@ mod tests { ))) .unwrap(); let result = fetch_once(client, &url, None).await; - if let Ok(FetchOnceResult::Code(body, headers)) = result { assert!(!body.is_empty()); assert_eq!(headers.get("content-type").unwrap(), "application/json"); |