Skip to content

Commit

Permalink
update test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
TimothyYe committed Feb 29, 2024
1 parent b36f07d commit b7622bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/sequence/port_sequence.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ mod tests {
detector.add_sequence("127.0.0.1".to_owned(), 3);
detector.add_sequence("127.0.0.1".to_owned(), 5);
detector.add_sequence("127.0.0.1".to_owned(), 6);
assert_eq!(detector.match_sequence("127.0.0.1"), false);
assert_eq!(detector.client_sequences.get("127.0.0.1").unwrap().len(), 0);
}
}

0 comments on commit b7622bf

Please sign in to comment.