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

Function test_convert_missing_deps

atomic-cli/src/commands/pull/helpers.rs:723–728  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

721 /// Test converting missing dependencies error.
722 #[test]
723 fn test_convert_missing_deps() {
724 let err = RemoteError::missing_deps(vec!["DEP1".to_string(), "DEP2".to_string()]);
725 let cli_err = convert_remote_error(err, "http://example.com");
726
727 assert!(matches!(cli_err, CliError::MissingDependency { .. }));
728 }
729
730 /// Test converting timeout error.
731 #[test]

Callers

nothing calls this directly

Calls 1

convert_remote_errorFunction · 0.70

Tested by

no test coverage detected