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