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

Function test_is_not_found_variants

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

Source from the content-addressed store, hash-verified

523
524 #[test]
525 fn test_is_not_found_variants() {
526 assert!(RemoteError::repo_not_found("url").is_not_found());
527 assert!(RemoteError::view_not_found("main").is_not_found());
528 assert!(RemoteError::change_not_found("ABC").is_not_found());
529 assert!(RemoteError::tag_not_found("XYZ").is_not_found());
530 assert!(!RemoteError::timeout(10).is_not_found());
531 }
532
533 #[test]
534 fn test_state_mismatch() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected