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

Function test_record_with_author

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

Source from the content-addressed store, hash-verified

136
137 #[test]
138 fn test_record_with_author() {
139 let record = Record::new().with_author("Alice <alice@example.com>");
140 assert_eq!(record.author, Some("Alice <alice@example.com>".to_string()));
141 }
142
143 #[test]
144 fn test_record_with_edit() {

Callers

nothing calls this directly

Calls 1

with_authorMethod · 0.45

Tested by

no test coverage detected