()
| 666 | |
| 667 | #[test] |
| 668 | fn test_header_json_minimal() { |
| 669 | // Minimal JSON should work |
| 670 | let json = r#"{"message": "Test", "timestamp": "2024-01-15T10:30:00Z"}"#; |
| 671 | let header: ChangeHeader = serde_json::from_str(json).unwrap(); |
| 672 | assert_eq!(header.message, "Test"); |
| 673 | assert!(header.description.is_none()); |
| 674 | assert!(header.authors.is_empty()); |
| 675 | } |
| 676 | |
| 677 | #[test] |
| 678 | fn test_header_json_full_roundtrip() { |