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:83–87  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

81
82 #[test]
83 fn test_record_with_usage() {
84 let record = Record::new().with_usage("work").with_message("Work commit");
85
86 assert_eq!(record.usage, Some("work".to_string()));
87 }
88
89 #[test]
90 fn test_record_identity_precedence() {

Callers

nothing calls this directly

Calls 2

with_usageMethod · 0.80
with_messageMethod · 0.45

Tested by

no test coverage detected