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

Function test_from_pristine_error

atomic-core/src/output/repo/error.rs:455–462  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

453
454 #[test]
455 fn test_from_pristine_error() {
456 let pristine_err = PristineError::ViewNotFound {
457 name: "test".to_string(),
458 };
459 let err: OutputError = pristine_err.into();
460
461 assert!(err.is_pristine());
462 }
463
464 // ------------------------------------------------------------------------
465 // Error Source Tests

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected