()
| 545 | |
| 546 | #[test] |
| 547 | fn test_error_display() { |
| 548 | let err = ChangeStoreError::NotFound { |
| 549 | hash: "ABCDEF".to_string(), |
| 550 | }; |
| 551 | assert!(err.to_string().contains("ABCDEF")); |
| 552 | |
| 553 | let err = ChangeStoreError::HashMismatch { |
| 554 | expected: "EXPECTED".to_string(), |
| 555 | computed: "COMPUTED".to_string(), |
| 556 | }; |
| 557 | assert!(err.to_string().contains("EXPECTED")); |
| 558 | assert!(err.to_string().contains("COMPUTED")); |
| 559 | } |
| 560 | |
| 561 | // From Root Tests |
| 562 |
nothing calls this directly
no outgoing calls
no test coverage detected