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

Function test_hunk_kind_is_change

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

Source from the content-addressed store, hash-verified

844
845 #[test]
846 fn test_hunk_kind_is_change() {
847 assert!(HunkKind::Deleted.is_change());
848 assert!(HunkKind::Inserted.is_change());
849 assert!(HunkKind::Modified.is_change());
850 assert!(!HunkKind::Unchanged.is_change());
851 }
852
853 #[test]
854 fn test_hunk_kind_is_deleted() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected