libfreemkv 0.31.3: use RFC 5737 doc address in network URL test fixture

This commit is contained in:
Matthew Jackson
2026-06-07 22:42:09 -07:00
parent 8000bae177
commit d181362460
3 changed files with 9 additions and 3 deletions
+2 -2
View File
@@ -152,8 +152,8 @@ mod tests {
fn path_str_returns_address_for_network() {
// network:// path_str is the host:port address verbatim.
assert_eq!(
parse_url("network://192.168.1.1:9000").path_str(),
"192.168.1.1:9000"
parse_url("network://203.0.113.5:9000").path_str(),
"203.0.113.5:9000"
);
}