[REFACTOR] Put tmpkeyfile tests into a submodule
@@ -580,6 +580,9 @@ mod test {
static VALID_KEY_AS_HEX: &str = "\
44215a3bce23e351a6af359d77131db17a46767de2b88cbb330df162b8cf2ec1";
+ mod tmpkeyfile {
+ use super::*;
+
#[test]
fn tmp_keyfile_delete_on_drop() {
let cache = Builder::new().prefix("key_cache").tempdir().unwrap();
@@ -604,6 +607,7 @@ mod test {
}
assert_eq!(path.is_file(), false);
}
+ }
#[test]
fn parse_name_with_rev() {
