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

Function test_no_changes

atomic-core/src/merge/three_way.rs:438–443  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

436
437 #[test]
438 fn test_no_changes() {
439 let base = tokenize(b"hello world");
440 let result = three_way_merge(&base, &base, &base);
441 assert!(matches!(result, ThreeWayResult::Merged(_)));
442 assert_eq!(merged_string(&result).unwrap(), "hello world");
443 }
444
445 #[test]
446 fn test_only_left_changes() {

Callers

nothing calls this directly

Calls 2

tokenizeFunction · 0.85
three_way_mergeFunction · 0.85

Tested by

no test coverage detected