Skip to content

Commit

Permalink
Fix compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
tiborschneider authored Jul 3, 2024
1 parent 4750fd7 commit 79058b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -883,6 +883,6 @@ fn test_spm_vs_lpm_all_routes() {

let prefix = Ipv4Net::from_str("192.168.0.1/32").unwrap();

assert_eq!(prefix_set.get_spm(&prefix).unwrap(), Ipv4Net::from_str("0.0.0.0/0").unwrap());
assert_eq!(prefix_set.get_lpm(&prefix).unwrap(), Ipv4Net::from_str("192.168.0.0/24").unwrap());
assert_eq!(prefix_set.get_spm(&prefix).unwrap(), &Ipv4Net::from_str("0.0.0.0/0").unwrap());
assert_eq!(prefix_set.get_lpm(&prefix).unwrap(), &Ipv4Net::from_str("192.168.0.0/24").unwrap());
}

0 comments on commit 79058b2

Please sign in to comment.