()
| 533 | |
| 534 | #[test] |
| 535 | fn missing_change_display_includes_hash() { |
| 536 | let hash = Hash::of(b"important change"); |
| 537 | let err = OutputError::MissingChange { hash }; |
| 538 | let msg = err.to_string(); |
| 539 | // The hash in the message lets users fetch the missing change. |
| 540 | assert!( |
| 541 | msg.len() > 20, |
| 542 | "should include the hash representation: {msg}" |
| 543 | ); |
| 544 | } |
| 545 | } |
nothing calls this directly
no outgoing calls
no test coverage detected