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

Function test_log_output_config_clone

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

Source from the content-addressed store, hash-verified

1078
1079 #[test]
1080 fn test_log_output_config_clone() {
1081 let config = LogOutputConfig::new().format(LogFormat::Json).count(10);
1082 let cloned = config.clone();
1083
1084 assert_eq!(config.format, cloned.format);
1085 assert_eq!(config.count, cloned.count);
1086 }
1087
1088 #[test]
1089 fn test_json_author_clone() {

Callers

nothing calls this directly

Calls 3

countMethod · 0.45
formatMethod · 0.45
cloneMethod · 0.45

Tested by

no test coverage detected