From f889cfb9921bbbb129ca05a86c53263ed5755ef4 Mon Sep 17 00:00:00 2001 From: "ZhengYu, Xu" Date: Wed, 27 Nov 2024 14:43:08 +0800 Subject: [PATCH] fix test --- crates/pixi_config/src/lib.rs | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/crates/pixi_config/src/lib.rs b/crates/pixi_config/src/lib.rs index 289b67953..a081eb348 100644 --- a/crates/pixi_config/src/lib.rs +++ b/crates/pixi_config/src/lib.rs @@ -1241,14 +1241,7 @@ UNUSED = "unused" let (config, _) = Config::from_toml(toml).unwrap(); assert_eq!( config.pypi_config().allow_insecure_host, - vec![ - TrustedHost::Host { - scheme: Some("https".into()), - host: "localhost".into(), - port: Some(1234), - }, - TrustedHost::Wildcard, - ] + vec!["https://localhost:1234", "*",] ); }