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

Function test_error_debug_format

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

Source from the content-addressed store, hash-verified

660
661 #[test]
662 fn test_error_debug_format() {
663 // Ensure Debug is implemented and doesn't panic
664 let err = FormatError::InvalidMagic { got: [1, 2, 3, 4] };
665 let debug = format!("{:?}", err);
666 assert!(debug.contains("InvalidMagic"));
667 }
668
669 #[test]
670 fn test_error_display_format() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected