Initial upload: GitPulse - Developer Productivity Analyzer CLI tool
Some checks failed
CI / test (push) Failing after 2s
CI / release (push) Has been skipped

This commit is contained in:
2026-02-04 15:45:51 +00:00
parent 4aaaf7c3e0
commit 043754c111

16
tests/utils_test.rs Normal file
View File

@@ -0,0 +1,16 @@
#[cfg(test)]
mod tests {
use crate::utils::author::normalize_author_identity;
#[test]
fn test_normalize_author_identity() {
let identity = normalize_author_identity("John Doe", "john@example.com");
assert!(identity.contains("john@example.com"));
}
#[test]
fn test_normalize_email_lowercase() {
let identity = normalize_author_identity("John", "JOHN@EXAMPLE.COM");
assert!(identity.contains("john@example.com"));
}
}