Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(lsp): improve test client initialization #18015

Merged
merged 11 commits into from
Mar 8, 2023

Conversation

dsherret
Copy link
Member

@dsherret dsherret commented Mar 4, 2023

No description provided.

@dsherret dsherret marked this pull request as ready for review March 8, 2023 22:46
@dsherret dsherret requested a review from bartlomieju March 8, 2023 22:46
use tower_lsp::lsp_types as lsp;

fn load_fixture(path: &str) -> Value {
load_fixture_as(path)
}
Copy link
Member Author

Choose a reason for hiding this comment

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

I inlined all the fixtures. Having them in separate files created too much of a disconnect and we can work on moving more of this to be abstracted away in the TestLspClient.

Copy link
Member

Choose a reason for hiding this comment

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

Strongly agree, good change

Copy link
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

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

LGTM, great diff

@dsherret dsherret enabled auto-merge (squash) March 8, 2023 23:08
@dsherret dsherret merged commit 25d98ca into denoland:main Mar 8, 2023
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