()
| 985 | |
| 986 | #[test] |
| 987 | fn test_parse_author_full() { |
| 988 | let mut revise = Revise::new(); |
| 989 | revise.author = Some("Alice <alice@example.com>".to_string()); |
| 990 | let (name, email) = revise.parse_author().unwrap(); |
| 991 | assert_eq!(name, "Alice"); |
| 992 | assert_eq!(email, Some("alice@example.com".to_string())); |
| 993 | } |
| 994 | |
| 995 | #[test] |
| 996 | fn test_parse_author_with_spaces() { |
nothing calls this directly
no test coverage detected