()
| 430 | |
| 431 | #[test] |
| 432 | fn test_author_display_short() { |
| 433 | let with_email = Author::new("Alice", Some("alice@example.com")); |
| 434 | assert_eq!(with_email.display_short(), "Alice <alice@example.com>"); |
| 435 | |
| 436 | let without_email = Author::new("Bob", None::<String>); |
| 437 | assert_eq!(without_email.display_short(), "Bob"); |
| 438 | } |
| 439 | |
| 440 | #[test] |
| 441 | fn test_author_display_trait() { |
nothing calls this directly
no outgoing calls
no test coverage detected