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

Function test_diff_format_hash

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

Source from the content-addressed store, hash-verified

97
98 #[test]
99 fn test_diff_format_hash() {
100 use std::collections::HashSet;
101 let mut set = HashSet::new();
102 set.insert(DiffFormat::Unified);
103 set.insert(DiffFormat::Stat);
104 assert!(set.contains(&DiffFormat::Unified));
105 assert!(set.contains(&DiffFormat::Stat));
106 assert!(!set.contains(&DiffFormat::NameOnly));
107 }
108
109 // FileDiffStats Tests
110

Callers

nothing calls this directly

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected