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

Function test_convert_stack_not_found

atomic-cli/tests/fixtures/helpers_c1.rs:431–442  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

429
430 #[test]
431 fn test_convert_stack_not_found() {
432 let err = RemoteError::stack_not_found("main");
433 let cli_err = convert_remote_error(err, "http://example.com");
434
435 match cli_err {
436 CliError::RemoteError { message, .. } => {
437 assert!(message.contains("main"));
438 assert!(message.contains("not found"));
439 }
440 _ => panic!("Expected RemoteError"),
441 }
442 }
443
444 #[test]
445 fn test_convert_missing_deps() {

Callers

nothing calls this directly

Calls 1

convert_remote_errorFunction · 0.70

Tested by

no test coverage detected