()
| 994 | |
| 995 | #[test] |
| 996 | fn test_parse_author_with_spaces() { |
| 997 | let mut revise = Revise::new(); |
| 998 | revise.author = Some(" Alice Bob <alice@example.com> ".to_string()); |
| 999 | let (name, email) = revise.parse_author().unwrap(); |
| 1000 | assert_eq!(name, "Alice Bob"); |
| 1001 | assert_eq!(email, Some("alice@example.com".to_string())); |
| 1002 | } |
| 1003 | |
| 1004 | // Message Tests |
| 1005 |
nothing calls this directly
no test coverage detected