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

Function test_file_change_status_hash

atomic-cli/src/commands/diff/tests.rs:577–584  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

575
576 #[test]
577 fn test_file_change_status_hash() {
578 use std::collections::HashSet;
579 let mut set = HashSet::new();
580 set.insert(FileChangeStatus::Added);
581 set.insert(FileChangeStatus::Modified);
582 assert!(set.contains(&FileChangeStatus::Added));
583 assert!(!set.contains(&FileChangeStatus::Deleted));
584 }
585
586 // Diff Command Tests
587

Callers

nothing calls this directly

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected