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

Function test_log_output_config_default

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

Source from the content-addressed store, hash-verified

85
86 #[test]
87 fn test_log_output_config_default() {
88 let config = LogOutputConfig::default();
89 assert_eq!(config.format, LogFormat::Default);
90 assert!(config.count.is_none());
91 assert!(!config.reverse);
92 assert_eq!(config.from_sequence, 0);
93 assert!(!config.tags_only);
94 assert!(config.view.is_none());
95 assert!(config.path.is_none());
96 assert_eq!(config.hash_length, DEFAULT_HASH_LENGTH);
97 }
98
99 #[test]
100 fn test_log_output_config_new() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected