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

Function test_error_debug

atomic-core/src/output/repo/repository/tests.rs:498–503  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

496
497 #[test]
498 fn test_error_debug() {
499 let err: MaterializeError<std::io::Error> = MaterializeError::TreeError("test".to_string());
500 let debug = format!("{:?}", err);
501
502 assert!(debug.contains("TreeError"));
503 }
504
505 #[test]
506 fn test_error_source_pristine() {

Callers

nothing calls this directly

Calls 1

TreeErrorEnum · 0.85

Tested by

no test coverage detected