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

Function test_log_format_display

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

Source from the content-addressed store, hash-verified

16
17 #[test]
18 fn test_log_format_display() {
19 assert_eq!(LogFormat::Default.to_string(), "default");
20 assert_eq!(LogFormat::Short.to_string(), "short");
21 assert_eq!(LogFormat::Oneline.to_string(), "oneline");
22 assert_eq!(LogFormat::Json.to_string(), "json");
23 }
24
25 #[test]
26 fn test_log_format_from_str_default() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected