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

Function test_change_hunk_range

atomic-core/src/diff/inline.rs:916–919  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

914
915 #[test]
916 fn test_change_hunk_range() {
917 let hunk = ChangeHunk::new(5, 15, HunkKind::Deleted);
918 assert_eq!(hunk.range(), 5..15);
919 }
920
921 #[test]
922 fn test_change_hunk_is_empty() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected