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

Function test_error_debug

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

Source from the content-addressed store, hash-verified

504
505 #[test]
506 fn test_error_debug() {
507 let err: MaterializeError<std::io::Error> = MaterializeError::TreeError("test".to_string());
508 let debug = format!("{:?}", err);
509
510 assert!(debug.contains("TreeError"));
511 }
512
513 #[test]
514 fn test_error_source_pristine() {

Callers

nothing calls this directly

Calls 1

TreeErrorEnum · 0.85

Tested by

no test coverage detected