From b7622bf3588995e09fd6ff038775496b44391c9c Mon Sep 17 00:00:00 2001 From: Timothy Date: Fri, 1 Mar 2024 01:54:59 +0800 Subject: [PATCH] update test cases --- src/sequence/port_sequence.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sequence/port_sequence.rs b/src/sequence/port_sequence.rs index 3f85cd7..d639951 100644 --- a/src/sequence/port_sequence.rs +++ b/src/sequence/port_sequence.rs @@ -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); } }