9 lines
190 B
Rust
9 lines
190 B
Rust
|
// Copyright 2023 Oxide Computer Company
|
||
|
|
||
|
use progenitor_client::encode_path;
|
||
|
|
||
|
#[test]
|
||
|
fn test_path_segment_encoding() {
|
||
|
assert_eq!(encode_path("192.168.0.0/24"), "192.168.0.0%2F24");
|
||
|
}
|