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:943–948  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

941 /// Test converting missing dependencies error.
942 #[test]
943 fn test_convert_missing_deps() {
944 let err = RemoteError::missing_deps(vec!["DEP1".to_string(), "DEP2".to_string()]);
945 let cli_err = convert_remote_error(err, "http://example.com");
946
947 assert!(matches!(cli_err, CliError::MissingDependency { .. }));
948 }
949
950 /// Test converting timeout error.
951 #[test]

Callers

nothing calls this directly

Calls 1

convert_remote_errorFunction · 0.70

Tested by

no test coverage detected