()
| 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() { |
nothing calls this directly
no outgoing calls
no test coverage detected