()
| 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 |