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

Function test_trunk_set_path

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

Source from the content-addressed store, hash-verified

516
517 #[test]
518 fn test_trunk_set_path() {
519 let mut trunk = make_trunk();
520 assert_eq!(trunk.path(), "src/main.rs");
521
522 trunk.set_path("src/lib.rs".to_string());
523 assert_eq!(trunk.path(), "src/lib.rs");
524 }
525
526 #[test]
527 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