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

Function test_remote_error_display

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

Source from the content-addressed store, hash-verified

828
829 #[test]
830 fn test_remote_error_display() {
831 let err = CliError::remote_error("connection refused", Some("https://example.com".into()));
832 let msg = err.to_string();
833 assert!(msg.contains("Remote operation failed"));
834 assert!(msg.contains("connection refused"));
835 }
836
837 #[test]
838 fn test_nothing_to_record_display() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected