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_c6.rs:606–617  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

604
605 #[test]
606 fn test_convert_stack_not_found() {
607 let err = RemoteError::stack_not_found("main");
608 let cli_err = convert_remote_error(err, "http://example.com");
609
610 match cli_err {
611 CliError::RemoteError { message, .. } => {
612 assert!(message.contains("main"));
613 assert!(message.contains("not found"));
614 }
615 _ => panic!("Expected RemoteError"),
616 }
617 }
618
619 #[test]
620 fn test_convert_missing_deps() {

Callers

nothing calls this directly

Calls 1

convert_remote_errorFunction · 0.70

Tested by

no test coverage detected