()
| 866 | |
| 867 | #[test] |
| 868 | fn test_parse_author_name_only() { |
| 869 | let mut revise = Revise::new(); |
| 870 | revise.author = Some("Alice".to_string()); |
| 871 | let (name, email) = revise.parse_author().unwrap(); |
| 872 | assert_eq!(name, "Alice"); |
| 873 | assert!(email.is_none()); |
| 874 | } |
| 875 | |
| 876 | #[test] |
| 877 | fn test_parse_author_full() { |
nothing calls this directly
no test coverage detected