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

Function test_exit_code_internal

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

Source from the content-addressed store, hash-verified

1127
1128 #[test]
1129 fn test_exit_code_internal() {
1130 let err = CliError::Internal(anyhow::anyhow!("bug"));
1131 assert_eq!(err.exit_code(), 128);
1132 }
1133
1134 // -------------------------------------------------------------------------
1135 // Constructor Tests

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected