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

Function test_exit_code_repository_error

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

Source from the content-addressed store, hash-verified

1108
1109 #[test]
1110 fn test_exit_code_repository_error() {
1111 assert_eq!(CliError::repository_not_found("/path").exit_code(), 3);
1112 assert_eq!(CliError::view_not_found("main").exit_code(), 3);
1113 assert_eq!(CliError::file_not_found("test.txt").exit_code(), 3);
1114 }
1115
1116 #[test]
1117 fn test_exit_code_remote_error() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected