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

Function test_internal_error

atomic-core/src/apply/change.rs:482–491  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

480
481 #[test]
482 fn test_internal_error() {
483 let err = LocalApplyError::Internal {
484 message: "test error".to_string(),
485 };
486
487 let display = format!("{}", err);
488 assert!(display.contains("Internal error"));
489 assert!(display.contains("test error"));
490 assert!(!err.is_recoverable());
491 }
492
493 // View State Tests
494

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected