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

Function test_outcome_display_success

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

Source from the content-addressed store, hash-verified

1149
1150 #[test]
1151 fn test_outcome_display_success() {
1152 let mut context = ApplyContext::with_defaults();
1153 context.record_trunk_created();
1154
1155 let outcome = context.finish();
1156 let display = outcome.to_string();
1157
1158 assert!(display.contains("Success"));
1159 }
1160
1161 #[test]
1162 fn test_outcome_display_failure() {

Callers

nothing calls this directly

Calls 2

record_trunk_createdMethod · 0.80
finishMethod · 0.45

Tested by

no test coverage detected