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

Function test_internal_error

atomic-core/src/apply/edge.rs:914–925  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

912
913 #[test]
914 fn test_internal_error() {
915 let error = LocalApplyError::Internal {
916 message: "Test error".to_string(),
917 };
918
919 match error {
920 LocalApplyError::Internal { message } => {
921 assert!(message.contains("Test"));
922 }
923 _ => panic!("Wrong error type"),
924 }
925 }
926
927 // Integration-style Tests (Structure Only)
928

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected