refactor: consolidate nvim crates, extract server library, and update workspace dependencies

This commit is contained in:
Riz Ashraf committed 2026-10-04 01:42:59 +01:00
1 parent a083719cf1
commit 533adfd41b
53 files changed
+5967 -1230

No files matched your search

+22
View File
@@ -270,4 +270,26 @@ mod tests {
assert!(res3.contains("prod.local"));
assert!(!res3.is_empty());
}
#[tokio::test]
async fn test_empty_namespace_in_update_env_fingerprint() {
let dir = tempfile::tempdir().unwrap();
let state = Arc::new(MemoryState::new(dir.path().to_str().unwrap()));
let update_handler = UpdateEnvFingerprintHandler;
let args = serde_json::json!({
"namespace": "",
"tool_versions": {
"rustc": "1.70.0"
}
});
let res = update_handler
.execute(args, state.clone())
.await;
assert!(res.is_ok());
}
}