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

Source from the content-addressed store, hash-verified

669
670 #[test]
671 fn test_convert_missing_deps() {
672 let err = RemoteError::missing_deps(vec!["ABC".to_string(), "DEF".to_string()]);
673 let cli_err = convert_remote_error(err, "http://example.com");
674
675 assert!(matches!(cli_err, CliError::MissingDependency { .. }));
676 }
677
678 #[test]
679 fn test_convert_timeout() {

Callers

nothing calls this directly

Calls 1

convert_remote_errorFunction · 0.70

Tested by

no test coverage detected