chore(http): add test for validity of cli
@@ -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());
+ }
+}
