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:1068–1074  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1066
1067 #[test]
1068 fn test_log_output_config_clone() {
1069 let config = LogOutputConfig::new().format(LogFormat::Json).count(10);
1070 let cloned = config.clone();
1071
1072 assert_eq!(config.format, cloned.format);
1073 assert_eq!(config.count, cloned.count);
1074 }
1075
1076 #[test]
1077 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