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

Function test_trunk_set_path

atomic-core/src/crdt/trunk.rs:544–550  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

542
543 #[test]
544 fn test_trunk_set_path() {
545 let mut trunk = make_trunk();
546 assert_eq!(trunk.path(), "src/main.rs");
547
548 trunk.set_path("src/lib.rs".to_string());
549 assert_eq!(trunk.path(), "src/lib.rs");
550 }
551
552 #[test]
553 fn test_trunk_delete_and_undelete() {

Callers

nothing calls this directly

Calls 2

make_trunkFunction · 0.85
set_pathMethod · 0.80

Tested by

no test coverage detected