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

Function test_constructor_change_not_found

atomic-cli/src/error.rs:1208–1216  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1206
1207 #[test]
1208 fn test_constructor_change_not_found() {
1209 let err = CliError::change_not_found("DEADBEEF");
1210 match err {
1211 CliError::ChangeNotFound { hash } => {
1212 assert_eq!(hash, "DEADBEEF");
1213 }
1214 _ => panic!("Wrong error variant"),
1215 }
1216 }
1217
1218 #[test]
1219 fn test_constructor_remote_error_with_url() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected