keyhog-core 0.5.73

keyhog-core: shared data model and detector specifications for the KeyHog secret scanner
Documentation
1
2
3
4
5
6
7
8
9
//! Empty dedup input yields empty output - no panic, no phantom groups.

use keyhog_core::{dedup_matches, DedupScope};

#[test]
fn empty_matches_slice_yields_empty_vec() {
    let out = dedup_matches(vec![], &DedupScope::Credential);
    assert_eq!(out.len(), 0, "empty input must produce zero deduped groups");
}