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

Function test_record_with_usage

atomic-cli/src/commands/record/tests.rs:100–104  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

98
99 #[test]
100 fn test_record_with_usage() {
101 let record = Record::new().with_usage("work").with_message("Work commit");
102
103 assert_eq!(record.usage, Some("work".to_string()));
104 }
105
106 #[test]
107 fn test_record_identity_precedence() {

Callers

nothing calls this directly

Calls 2

with_messageMethod · 0.45
with_usageMethod · 0.45

Tested by

no test coverage detected