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

Function test_constructor_file_not_found

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

Source from the content-addressed store, hash-verified

1195
1196 #[test]
1197 fn test_constructor_file_not_found() {
1198 let err = CliError::file_not_found("src/lib.rs");
1199 match err {
1200 CliError::FileNotFound { path } => {
1201 assert_eq!(path, PathBuf::from("src/lib.rs"));
1202 }
1203 _ => panic!("Wrong error variant"),
1204 }
1205 }
1206
1207 #[test]
1208 fn test_constructor_change_not_found() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected