()
| 972 | |
| 973 | #[test] |
| 974 | fn test_parse_author_name_only() { |
| 975 | let mut revise = Revise::new(); |
| 976 | revise.author = Some("Alice".to_string()); |
| 977 | let (name, email) = revise.parse_author().unwrap(); |
| 978 | assert_eq!(name, "Alice"); |
| 979 | assert!(email.is_none()); |
| 980 | } |
| 981 | |
| 982 | #[test] |
| 983 | fn test_parse_author_full() { |
nothing calls this directly
no test coverage detected