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

Function test_hunk_kind_name

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

Source from the content-addressed store, hash-verified

868
869 #[test]
870 fn test_hunk_kind_name() {
871 assert_eq!(HunkKind::Deleted.name(), "deleted");
872 assert_eq!(HunkKind::Inserted.name(), "inserted");
873 assert_eq!(HunkKind::Modified.name(), "modified");
874 assert_eq!(HunkKind::Unchanged.name(), "unchanged");
875 }
876
877 #[test]
878 fn test_hunk_kind_display() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected