fix: merge shared command diagnostic assertions

# Conflicts:
#	crates/workspace-server/src/server.rs
This commit is contained in:
2026-10-21 06:40:26 +09:00
+8 -1
View File
@@ -8888,7 +8888,14 @@ mod tests {
}) })
.await .await
.expect_err("closed session must reject local operation without another request"); .expect_err("closed session must reject local operation without another request");
assert!(matches!(error, WorkdirError::Unavailable(_))); assert!(matches!(
error.classification_source(),
WorkdirError::Unavailable(_)
));
assert_eq!(
error.failure_reason(),
Some(workdir::WorkdirFailureReason::SessionClosed)
);
server.join().expect("mock remote server finished"); server.join().expect("mock remote server finished");
} }