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

Function test_format_hashes_many

atomic-remote/src/error.rs:414–423  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

412
413 #[test]
414 fn test_format_hashes_many() {
415 let hashes = vec![
416 "A".to_string(),
417 "B".to_string(),
418 "C".to_string(),
419 "D".to_string(),
420 "E".to_string(),
421 ];
422 assert_eq!(format_hashes(&hashes), "A, B, C, ... and 2 more");
423 }
424
425 #[test]
426 fn test_connection_failed() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected