chore(http): add test for validity of cli

This commit is contained in:
ad hoc 2022-03-16 17:01:05 +01:00
parent 469aa8feab
commit 22c61a1ecb
No known key found for this signature in database
GPG Key ID: 4F00A782990CC643

View File

@ -258,3 +258,13 @@ fn load_ocsp(filename: &Option<PathBuf>) -> anyhow::Result<Vec<u8>> {
Ok(ret)
}
#[cfg(test)]
mod test {
use super::*;
#[test]
fn test_valid_opt() {
assert!(Opt::try_parse_from(Some("")).is_ok());
}
}