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

Function test_trunk_display

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

Source from the content-addressed store, hash-verified

563
564 #[test]
565 fn test_trunk_display() {
566 let trunk = make_trunk();
567 let display = format!("{}", trunk);
568 assert!(display.contains("Trunk"));
569 assert!(display.contains("src/main.rs"));
570 assert!(display.contains("alive"));
571 }
572
573 #[test]
574 fn test_trunk_serde() {

Callers

nothing calls this directly

Calls 1

make_trunkFunction · 0.85

Tested by

no test coverage detected