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

Function test_apply_result_ok

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

Source from the content-addressed store, hash-verified

1080 #[test]
1081 #[allow(clippy::unnecessary_literal_unwrap)]
1082 fn test_apply_result_ok() {
1083 let result: ApplyResult<i32> = Ok(42);
1084 assert!(result.is_ok());
1085 assert_eq!(result.unwrap(), 42);
1086 }
1087
1088 #[test]
1089 fn test_apply_result_err() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected