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

Function test_hunk_kind_is_inserted

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

Source from the content-addressed store, hash-verified

860
861 #[test]
862 fn test_hunk_kind_is_inserted() {
863 assert!(HunkKind::Inserted.is_inserted());
864 assert!(HunkKind::Modified.is_inserted());
865 assert!(!HunkKind::Deleted.is_inserted());
866 assert!(!HunkKind::Unchanged.is_inserted());
867 }
868
869 #[test]
870 fn test_hunk_kind_name() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected