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

Function test_convert_missing_deps

atomic-cli/src/commands/clone/helpers.rs:962–967  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

960 /// Test converting missing dependencies error.
961 #[test]
962 fn test_convert_missing_deps() {
963 let err = RemoteError::missing_deps(vec!["DEP1".to_string(), "DEP2".to_string()]);
964 let cli_err = convert_remote_error(err, "http://example.com");
965
966 assert!(matches!(cli_err, CliError::MissingDependency { .. }));
967 }
968
969 /// Test converting timeout error.
970 #[test]

Callers

nothing calls this directly

Calls 1

convert_remote_errorFunction · 0.70

Tested by

no test coverage detected