Skip to content

Commit 6cafa3f

Browse files
committed
fix: address CI failures
- Add CDLA-Permissive-2.0 to allowed licenses (webpki-roots) - Fix redundant closure clippy warnings in tests
1 parent c240fae commit 6cafa3f

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

crates/deps-lsp/src/server.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -113,16 +113,14 @@ mod tests {
113113

114114
#[tokio::test]
115115
async fn test_backend_creation() {
116-
let (_service, _socket) =
117-
tower_lsp::LspService::build(|client| Backend::new(client)).finish();
116+
let (_service, _socket) = tower_lsp::LspService::build(Backend::new).finish();
118117
// Backend should be created successfully
119118
// This is a minimal smoke test
120119
}
121120

122121
#[tokio::test]
123122
async fn test_initialize_without_options() {
124-
let (_service, _socket) =
125-
tower_lsp::LspService::build(|client| Backend::new(client)).finish();
123+
let (_service, _socket) = tower_lsp::LspService::build(Backend::new).finish();
126124
// Should initialize successfully with default config
127125
// Integration tests will test actual LSP protocol
128126
}

deny.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ allow = [
1818
"Unicode-DFS-2016",
1919
"Zlib",
2020
"0BSD",
21+
"CDLA-Permissive-2.0",
2122
]
2223

2324
[[licenses.clarify]]

0 commit comments

Comments
 (0)