[wip] unit tests for sharry module

- doc + testing for `uri` module
This commit is contained in:
Jörn-Michael Miehe 2025-07-03 13:10:19 +00:00
parent b01eb69e95
commit ea453da433

View file

@ -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<String>", "Uri");
check_trait(&expected, &uri.0, "From<String>", "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<String>", "Uri");
check_trait(&bad, &uri.0, "From<String>", "Uri");
}
}