fix30: очищены old-bash формулировки и уточнён class-id контракт
This commit is contained in:
@@ -272,7 +272,7 @@ mod tests {
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn lexicographic_sorting_parity() {
|
||||
fn lexicographic_sorting_preserves_class_id_contract() {
|
||||
let raw = "wg0 key1 10.8.1.2/32\nwg0 key2 10.8.1.10/32";
|
||||
let mut peers = parse_allowed_ips(raw, "10.8.1.0/24").expect("parse");
|
||||
peers.sort_by_key(|p| p.ipv4.to_string());
|
||||
|
||||
Reference in New Issue
Block a user