()
| 695 | |
| 696 | #[test] |
| 697 | fn test_builder_authors_iterator() { |
| 698 | let authors = vec![ |
| 699 | Author::new("Alice", None::<String>), |
| 700 | Author::new("Bob", None::<String>), |
| 701 | ]; |
| 702 | |
| 703 | let header = ChangeHeader::builder() |
| 704 | .message("Test") |
| 705 | .authors(authors) |
| 706 | .build(); |
| 707 | |
| 708 | assert_eq!(header.authors.len(), 2); |
| 709 | } |
| 710 | |
| 711 | #[test] |
| 712 | fn test_builder_chaining() { |