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

Function test_outcome_success

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

Source from the content-addressed store, hash-verified

1077
1078 #[test]
1079 fn test_outcome_success() {
1080 let context = ApplyContext::with_defaults();
1081 let outcome = context.finish();
1082
1083 assert!(outcome.is_success());
1084 assert!(!outcome.has_conflicts());
1085 assert!(outcome.failure_reason().is_none());
1086 }
1087
1088 #[test]
1089 fn test_outcome_with_conflicts() {

Callers

nothing calls this directly

Calls 1

finishMethod · 0.45

Tested by

no test coverage detected