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

Function test_remote_state_display

atomic-remote/src/sync.rs:969–975  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

967
968 #[test]
969 fn test_remote_state_display() {
970 let mut cache = RemoteState::named("origin");
971 cache.insert(0, Node::change("A", "S0"));
972 let display = format!("{}", cache);
973 assert!(display.contains("origin"));
974 assert!(display.contains("1 entries"));
975 }
976
977 // RemoteDelta tests
978

Callers

nothing calls this directly

Calls 3

namedFunction · 0.85
changeFunction · 0.50
insertMethod · 0.45

Tested by

no test coverage detected