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

Function test_is_remote_error

atomic-cli/src/error.rs:905–917  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

903
904 #[test]
905 fn test_is_remote_error() {
906 assert!(CliError::remote_error("failed", None).is_remote_error());
907 assert!(CliError::RemoteNotFound {
908 name: "origin".into()
909 }
910 .is_remote_error());
911 assert!(CliError::AuthenticationFailed {
912 remote: "origin".into()
913 }
914 .is_remote_error());
915
916 assert!(!CliError::NothingToRecord.is_remote_error());
917 }
918
919 #[test]
920 fn test_is_user_fixable() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected