jailer: moved unit tests in tests module
@@ -76,6 +76,7 @@ pub fn validate(mut input: &str) -> Result<()> {
Ok(())
}
+mod tests {
#[test]
fn test_uuid_validate() {
use super::*;
@@ -128,3 +129,4 @@ fn test_uuid_validate() {
assert!(validate("00000000000000000000000000000000").is_ok());
assert!(validate("00000000-0000-0000-0000-000000000000").is_ok());
}
+}
