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

Function test_change_hunk_display

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

Source from the content-addressed store, hash-verified

985
986 #[test]
987 fn test_change_hunk_display() {
988 let hunk = ChangeHunk::new(5, 10, HunkKind::Deleted);
989 let display = format!("{}", hunk);
990 assert!(display.contains("deleted"));
991 assert!(display.contains("5"));
992 assert!(display.contains("10"));
993 }
994
995 // InlineDiff tests
996

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected