From ea453da43376b621173ba17b851ef2c84730c6e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= <40151420+ldericher@users.noreply.github.com> Date: Thu, 3 Jul 2025 13:10:19 +0000 Subject: [PATCH] [wip] unit tests for `sharry` module - doc + testing for `uri` module --- src/sharry/uri.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sharry/uri.rs b/src/sharry/uri.rs index 1a7d424..301c98b 100644 --- a/src/sharry/uri.rs +++ b/src/sharry/uri.rs @@ -137,7 +137,7 @@ mod tests { for (good, expected) in cases { let uri = Uri::from(good.to_string()); - check_trait(&expected, &uri.to_string(), "From", "Uri"); + check_trait(&expected, &uri.0, "From", "Uri"); } } @@ -159,7 +159,7 @@ mod tests { for bad in cases { let uri = Uri::from(bad.to_string()); - check_trait(&bad, &uri.to_string(), "From", "Uri"); + check_trait(&bad, &uri.0, "From", "Uri"); } }