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

Function test_convert_missing_deps

atomic-cli/src/commands/push/helpers.rs:977–982  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

975
976 #[test]
977 fn test_convert_missing_deps() {
978 let err = RemoteError::missing_deps(vec!["ABC".to_string(), "DEF".to_string()]);
979 let cli_err = convert_remote_error(err, "http://example.com");
980
981 assert!(matches!(cli_err, CliError::MissingDependency { .. }));
982 }
983
984 #[test]
985 fn test_convert_timeout() {

Callers

nothing calls this directly

Calls 1

convert_remote_errorFunction · 0.70

Tested by

no test coverage detected