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

Function test_exit_code_non_fatal

atomic-agent/src/error.rs:676–685  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

674
675 #[test]
676 fn test_exit_code_non_fatal() {
677 assert_eq!(AgentError::WatchmanNotRunning.exit_code(), 0);
678 assert_eq!(
679 AgentError::CaptureInvalid {
680 reason: "tampered".to_string(),
681 }
682 .exit_code(),
683 0
684 );
685 }
686
687 #[test]
688 fn test_exit_code_recording_errors() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected