From 4111916c73fc75bcd953e4ca299f5ff588e1152e Mon Sep 17 00:00:00 2001 From: Matthew Esposito Date: Thu, 31 Oct 2024 22:50:45 -0400 Subject: [PATCH] Update src/client.rs --- src/client.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client.rs b/src/client.rs index f1948c4..2b72482 100644 --- a/src/client.rs +++ b/src/client.rs @@ -500,7 +500,7 @@ async fn test_obfuscated_share_link() { #[tokio::test(flavor = "multi_thread")] async fn test_share_link_strip_json() { let link = "/17krzvz".into(); - let canonical_link = "/17krzvz".into(); + let canonical_link = "/comments/17krzvz".into(); assert_eq!(canonical_path(link, 3).await, Ok(Some(canonical_link))); } #[tokio::test(flavor = "multi_thread")]