()
| 875 | |
| 876 | #[test] |
| 877 | fn test_parse_author_full() { |
| 878 | let mut revise = Revise::new(); |
| 879 | revise.author = Some("Alice <alice@example.com>".to_string()); |
| 880 | let (name, email) = revise.parse_author().unwrap(); |
| 881 | assert_eq!(name, "Alice"); |
| 882 | assert_eq!(email, Some("alice@example.com".to_string())); |
| 883 | } |
| 884 | |
| 885 | #[test] |
| 886 | fn test_parse_author_with_spaces() { |
nothing calls this directly
no test coverage detected