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

Source from the content-addressed store, hash-verified

878
879 #[test]
880 fn test_convert_missing_deps() {
881 let err = RemoteError::missing_deps(vec!["ABC".to_string(), "DEF".to_string()]);
882 let cli_err = convert_remote_error(err, "http://example.com");
883
884 assert!(matches!(cli_err, CliError::MissingDependency { .. }));
885 }
886
887 #[test]
888 fn test_convert_timeout() {

Callers

nothing calls this directly

Calls 1

convert_remote_errorFunction · 0.70

Tested by

no test coverage detected