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

Function test_diff_hunk_header

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

Source from the content-addressed store, hash-verified

338
339 #[test]
340 fn test_diff_hunk_header() {
341 let graph_op = DiffHunk::new(10, 5, 12, 7);
342 assert_eq!(graph_op.header(), "@@ -10,5 +12,7 @@");
343 }
344
345 #[test]
346 fn test_diff_hunk_header_single_lines() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected