()
| 598 | |
| 599 | #[test] |
| 600 | fn test_header_first_author() { |
| 601 | let header = ChangeHeader::builder() |
| 602 | .message("Test") |
| 603 | .author(Author::new("Alice", None::<String>)) |
| 604 | .author(Author::new("Bob", None::<String>)) |
| 605 | .build(); |
| 606 | |
| 607 | assert_eq!(header.first_author().unwrap().name, "Alice"); |
| 608 | } |
| 609 | |
| 610 | #[test] |
| 611 | fn test_header_first_author_none() { |