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

Function test_diff_output_config_clone

atomic-cli/src/commands/diff/tests.rs:1120–1124  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1118
1119 #[test]
1120 fn test_diff_output_config_clone() {
1121 let config = DiffOutputConfig::new().with_context(10);
1122 let cloned = config.clone();
1123 assert_eq!(config.context_lines, cloned.context_lines);
1124 }
1125
1126 #[test]
1127 fn test_diff_hunk_clone() {

Callers

nothing calls this directly

Calls 2

with_contextMethod · 0.45
cloneMethod · 0.45

Tested by

no test coverage detected