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

Function test_apply_result_err

atomic-core/src/crdt/apply/error.rs:1089–1093  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1087
1088 #[test]
1089 fn test_apply_result_err() {
1090 let trunk_id = TrunkId::new(NodeId::new(1), 0);
1091 let result: ApplyResult<()> = Err(ApplyError::trunk_not_found(trunk_id));
1092 assert!(result.is_err());
1093 }
1094
1095 #[test]
1096 fn test_apply_result_question_mark_operator() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected