MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_unexpected_eof_error

Function test_unexpected_eof_error

atomic-core/src/change/format_v3/error.rs:494–499  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

492
493 #[test]
494 fn test_unexpected_eof_error() {
495 let err = FormatError::UnexpectedEof { expected: 3 };
496 let msg = err.to_string();
497 assert!(msg.contains("unexpected end of file"));
498 assert!(msg.contains("3"));
499 }
500
501 // ── Classification methods ─────────────────────────────────────
502

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected