[wip] unit tests for sharry module
- doc + testing for `uri` module
This commit is contained in:
parent
b01eb69e95
commit
ea453da433
1 changed files with 2 additions and 2 deletions
|
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue