()
| 884 | |
| 885 | #[test] |
| 886 | fn test_parse_author_with_spaces() { |
| 887 | let mut revise = Revise::new(); |
| 888 | revise.author = Some(" Alice Bob <alice@example.com> ".to_string()); |
| 889 | let (name, email) = revise.parse_author().unwrap(); |
| 890 | assert_eq!(name, "Alice Bob"); |
| 891 | assert_eq!(email, Some("alice@example.com".to_string())); |
| 892 | } |
| 893 | |
| 894 | // Message Tests |
| 895 |
nothing calls this directly
no test coverage detected