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

Function test_convert_missing_deps

atomic-cli/src/commands/pull/helpers.rs:705–710  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

703 /// Test converting missing dependencies error.
704 #[test]
705 fn test_convert_missing_deps() {
706 let err = RemoteError::missing_deps(vec!["DEP1".to_string(), "DEP2".to_string()]);
707 let cli_err = convert_remote_error(err, "http://example.com");
708
709 assert!(matches!(cli_err, CliError::MissingDependency { .. }));
710 }
711
712 /// Test converting timeout error.
713 #[test]

Callers

nothing calls this directly

Calls 1

convert_remote_errorFunction · 0.70

Tested by

no test coverage detected