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

Function test_hash_different

atomic-core/src/diff/line.rs:488–493  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

486
487 #[test]
488 fn test_hash_different() {
489 let line1 = Line::new(b"test1\n");
490 let line2 = Line::new(b"test2\n");
491 // Hashes should (almost certainly) be different
492 assert_ne!(line1.hash_value(), line2.hash_value());
493 }
494
495 #[test]
496 fn test_len() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected