MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / test_default_is_idle

Function test_default_is_idle

crates/opencode-session/src/status.rs:161–165  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

159
160 #[tokio::test]
161 async fn test_default_is_idle() {
162 let mgr = SessionStatusManager::new();
163 let status = mgr.get("ses_123").await;
164 assert!(matches!(status, SessionStatusInfo::Idle));
165 }
166
167 #[tokio::test]
168 async fn test_set_busy() {

Callers

nothing calls this directly

Calls 2

newFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected