keyhog 0.5.40

keyhog: detects leaked credentials in source trees, git history, and cloud storage
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! Property: parse_decode_depth accepts 1..=10.

use keyhog::value_parsers::parse_decode_depth;
use proptest::prelude::*;

proptest! {
    #[test]
    fn parse_decode_depth_valid_range(d in 1usize..=10usize) {
        let s = d.to_string();
        prop_assert_eq!(parse_decode_depth(&s).expect("valid depth"), d);
    }
}