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

Function test_conflict_name

atomic-core/src/output/mod.rs:505–509  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

503
504 #[test]
505 fn test_conflict_name() {
506 let conflict = Conflict::name("renamed.txt".to_string(), vec![], 7);
507 assert_eq!(conflict.conflict_type(), ConflictType::Name);
508 assert_eq!(conflict.line(), 0); // Name conflicts don't have a specific line
509 }
510
511 #[test]
512 fn test_conflict_display() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected