Create a simple test change with the given message.
(message: &str)
| 23 | |
| 24 | /// Create a simple test change with the given message. |
| 25 | fn create_test_change(message: &str) -> Change { |
| 26 | let header = ChangeHeader::builder() |
| 27 | .message(message) |
| 28 | .author(Author::new("Test Author", Some("test@example.com"))) |
| 29 | .build(); |
| 30 | |
| 31 | Change::new(header, Vec::new(), Vec::new(), Vec::new()) |
| 32 | } |
| 33 | |
| 34 | /// Create a test change with some content. |
| 35 | fn create_test_change_with_content(message: &str, content: &[u8]) -> Change { |
no test coverage detected