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

Function test_builder_with_notes

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

Source from the content-addressed store, hash-verified

916
917 #[test]
918 fn test_builder_with_notes() {
919 let a = Attestation::builder("sess", make_agent())
920 .notes("Session was interrupted and resumed")
921 .build();
922
923 assert_eq!(
924 a.notes.as_deref(),
925 Some("Session was interrupted and resumed")
926 );
927 }
928
929 #[test]
930 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