()
| 496 | |
| 497 | #[test] |
| 498 | fn test_format_author_with_email() { |
| 499 | let author = Author::new("Alice Smith", Some("alice@example.com")); |
| 500 | assert_eq!(format_author(&author), "Alice Smith <alice@example.com>"); |
| 501 | } |
| 502 | |
| 503 | #[test] |
| 504 | fn test_format_author_without_email() { |
nothing calls this directly
no outgoing calls
no test coverage detected