()
| 1097 | |
| 1098 | #[test] |
| 1099 | fn test_exit_code_usage_error() { |
| 1100 | assert_eq!( |
| 1101 | CliError::InvalidArgument { |
| 1102 | message: "bad arg".into() |
| 1103 | } |
| 1104 | .exit_code(), |
| 1105 | 2 |
| 1106 | ); |
| 1107 | } |
| 1108 | |
| 1109 | #[test] |
| 1110 | fn test_exit_code_repository_error() { |
nothing calls this directly
no outgoing calls
no test coverage detected