summaryrefslogtreecommitdiff
path: root/test_util/src/lib.rs
diff options
context:
space:
mode:
authorCasper Beyer <caspervonb@pm.me>2021-02-02 19:05:46 +0800
committerGitHub <noreply@github.com>2021-02-02 12:05:46 +0100
commit6abf126c2a7a451cded8c6b5e6ddf1b69c84055d (patch)
treefd94c013a19fcb38954844085821ec1601c20e18 /test_util/src/lib.rs
parenta2b5d44f1aa9d64f448a2a3cc2001272e2f60b98 (diff)
chore: remove std directory (#9361)
This removes the std folder from the tree. Various parts of the tests are pretty tightly dependent on std (47 direct imports and 75 indirect imports, not counting the cli tests that use them as fixtures) so I've added std as a submodule for now.
Diffstat (limited to 'test_util/src/lib.rs')
-rw-r--r--test_util/src/lib.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/test_util/src/lib.rs b/test_util/src/lib.rs
index da7c8703e..37b1819d8 100644
--- a/test_util/src/lib.rs
+++ b/test_util/src/lib.rs
@@ -272,8 +272,8 @@ async fn get_tls_config(
}
async fn run_wss_server(addr: &SocketAddr) {
- let cert_file = "std/http/testdata/tls/localhost.crt";
- let key_file = "std/http/testdata/tls/localhost.key";
+ let cert_file = "cli/tests/tls/localhost.crt";
+ let key_file = "cli/tests/tls/localhost.key";
let tls_config = get_tls_config(cert_file, key_file).await.unwrap();
let tls_acceptor = TlsAcceptor::from(tls_config);
@@ -691,8 +691,8 @@ async fn wrap_main_server() {
async fn wrap_main_https_server() {
let main_server_https_addr = SocketAddr::from(([127, 0, 0, 1], HTTPS_PORT));
- let cert_file = "std/http/testdata/tls/localhost.crt";
- let key_file = "std/http/testdata/tls/localhost.key";
+ let cert_file = "cli/tests/tls/localhost.crt";
+ let key_file = "cli/tests/tls/localhost.key";
let tls_config = get_tls_config(cert_file, key_file)
.await
.expect("Cannot get TLS config");