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

Function test_hunks_empty_input

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

Source from the content-addressed store, hash-verified

859
860 #[test]
861 fn test_hunks_empty_input() {
862 let hunks = Diff::hunks_from_changed_lines(&[], None, 3);
863 assert!(hunks.is_empty());
864 }
865
866 #[test]
867 fn test_git_import_diff_metadata_without_file_ops_builds_file_diff() {

Callers

nothing calls this directly

Calls 1

hunks_from_changed_linesFunction · 0.85

Tested by

no test coverage detected