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

Function test_builder_with_notes

atomic-core/src/change/attestation.rs:1439–1448  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1437
1438 #[test]
1439 fn test_builder_with_notes() {
1440 let a = Attestation::builder("sess", make_agent())
1441 .notes("Session was interrupted and resumed")
1442 .build();
1443
1444 assert_eq!(
1445 a.notes.as_deref(),
1446 Some("Session was interrupted and resumed")
1447 );
1448 }
1449
1450 #[test]
1451 fn test_builder_changes_covered_vec() {

Callers

nothing calls this directly

Calls 3

make_agentFunction · 0.85
notesMethod · 0.80
buildMethod · 0.45

Tested by

no test coverage detected