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

Source from the content-addressed store, hash-verified

800 /// Test converting missing dependencies error.
801 #[test]
802 fn test_convert_missing_deps() {
803 let err = RemoteError::missing_deps(vec!["DEP1".to_string(), "DEP2".to_string()]);
804 let cli_err = convert_remote_error(err, "http://example.com");
805
806 assert!(matches!(cli_err, CliError::MissingDependency { .. }));
807 }
808
809 /// Test converting timeout error.
810 #[test]

Callers

nothing calls this directly

Calls 1

convert_remote_errorFunction · 0.70

Tested by

no test coverage detected