()
| 1143 | |
| 1144 | #[tokio::test] |
| 1145 | async fn test_is_closed_starts_false() { |
| 1146 | let agent = Agent::from_config(test_config()).await.unwrap(); |
| 1147 | let session = agent.session("/tmp/test-close-default", None).unwrap(); |
| 1148 | assert!(!session.is_closed()); |
| 1149 | } |
| 1150 | |
| 1151 | #[tokio::test] |
| 1152 | async fn test_close_marks_session_closed_and_is_idempotent() { |
nothing calls this directly
no test coverage detected