Skip to content

Tests for the LSP backend#24

Merged
vittorius merged 6 commits intomainfrom
tests-for-lsp-backend
Jan 20, 2026
Merged

Tests for the LSP backend#24
vittorius merged 6 commits intomainfrom
tests-for-lsp-backend

Conversation

@vittorius
Copy link
Owner

  • Tests for the ZedConfigFilePath type
  • Tests for the Backend type
  • Other minor changes


async fn init_lsp_backend_default() -> Result<Backend> {
init_lsp_backend(Some(json!({
"github_token": "gho_my-shiny-token",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should these keys be constants? They seem common and expected by the initialization code?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They are the field names of the Config type. So I had no need to extract them into constants.

@vittorius vittorius merged commit 4f33d79 into main Jan 20, 2026
8 checks passed
@vittorius vittorius deleted the tests-for-lsp-backend branch January 20, 2026 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants