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