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

Function test_constructor_view_not_found

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

Source from the content-addressed store, hash-verified

1184
1185 #[test]
1186 fn test_constructor_view_not_found() {
1187 let err = CliError::view_not_found("feature-branch");
1188 match err {
1189 CliError::ViewNotFound { name } => {
1190 assert_eq!(name, "feature-branch");
1191 }
1192 _ => panic!("Wrong error variant"),
1193 }
1194 }
1195
1196 #[test]
1197 fn test_constructor_file_not_found() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected