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_c5.rs:670–681  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

668
669 #[test]
670 fn test_convert_stack_not_found() {
671 let err = RemoteError::stack_not_found("main");
672 let cli_err = convert_remote_error(err, "http://example.com");
673
674 match cli_err {
675 CliError::RemoteError { message, .. } => {
676 assert!(message.contains("main"));
677 assert!(message.contains("not found"));
678 }
679 _ => panic!("Expected RemoteError"),
680 }
681 }
682
683 #[test]
684 fn test_convert_missing_deps() {

Callers

nothing calls this directly

Calls 1

convert_remote_errorFunction · 0.70

Tested by

no test coverage detected