From 7d9291449ed53334a22a3f5e1a7e07ea24b82cf7 Mon Sep 17 00:00:00 2001 From: neon_arch Date: Thu, 7 Mar 2024 16:32:36 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A8=20fix(build):=20make=20the=20cargo?= =?UTF-8?q?=20build=20check=20happy=20(#486)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/index.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/index.rs b/tests/index.rs index 010795d..0591e54 100644 --- a/tests/index.rs +++ b/tests/index.rs @@ -12,7 +12,7 @@ async fn spawn_app() -> String { let port = listener.local_addr().unwrap().port(); let config = CONFIG.get_or_init(|| Config::parse(false).unwrap()); let cache = websurfx::cache::cacher::create_cache(config).await; - let server = run(listener, config, cache).expect("Failed to bind address"); + let server = run(listener, &config, cache).expect("Failed to bind address"); tokio::spawn(server); format!("http://127.0.0.1:{}/", port)