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

Function test_exit_code_usage_error

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

Source from the content-addressed store, hash-verified

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() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected