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

Function test_log_new

atomic-cli/src/commands/log/tests.rs:184–194  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

182
183 #[test]
184 fn test_log_new() {
185 let log = Log::new();
186 assert!(log.count.is_none());
187 assert!(log.view.is_none());
188 assert!(!log.tags_only);
189 assert!(log.path.is_none());
190 assert_eq!(log.format, LogFormat::Default);
191 assert!(!log.reverse);
192 assert!(log.from.is_none());
193 assert!(!log.full_hash);
194 }
195
196 #[test]
197 fn test_log_default() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected