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

Function test_record_new

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

Source from the content-addressed store, hash-verified

72
73 #[test]
74 fn test_record_new() {
75 let record = Record::new();
76 assert!(record.message.is_none());
77 assert!(!record.all);
78 assert!(record.files.is_empty());
79 assert!(record.author.is_none());
80 assert!(record.identity.is_none());
81 assert!(record.usage.is_none());
82 assert!(!record.edit);
83 assert_eq!(record.algorithm, "myers");
84 assert!(!record.dry_run);
85 assert!(!record.skip_binary);
86 assert!(record.max_size.is_none());
87 }
88
89 #[test]
90 fn test_record_with_identity() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected