Skip to content

Split and clean up LanguageServiceTests.cs #1655

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

Merged
merged 4 commits into from
Jan 7, 2022

Conversation

andyleejordan
Copy link
Member

@andyleejordan andyleejordan commented Jan 5, 2022

Since it now covers the symbols service and completions handler separately. Resolves #1445.

@andyleejordan andyleejordan added Issue-Enhancement A feature request (enhancement). Area-Test labels Jan 5, 2022
@andyleejordan andyleejordan changed the title Split up and clean up LanguageServiceTests.cs Split and clean up LanguageServiceTests.cs Jan 6, 2022
This was broken because in an ancient rewrite, it wasn't caught that
this test expected the workspace path to be set to the "References"
folder. Inspect the test's source at commit
449cc21 to confirm.
… tests

This had been erroneously removed in commit
32451c0 leading to dead code, but were
able to be resurrected without issue.
@andyleejordan andyleejordan force-pushed the andschwa/language-tests branch from 4e8441f to e72a796 Compare January 6, 2022 01:42
@andyleejordan
Copy link
Member Author

@SeeminglyScience @rjmholt Please look at that last commit carefully: I've resurrected really old code to support aliases when finding references, and re-enabled the corresponding test.

@andyleejordan andyleejordan force-pushed the andschwa/language-tests branch from d49d8f4 to e72a796 Compare January 6, 2022 21:20
@andyleejordan
Copy link
Member Author

@SeeminglyScience @rjmholt Please look at that last commit carefully: I've resurrected really old code to support aliases when finding references, and re-enabled the corresponding test.

I've actually removed that from this PR and have made it a new PR #1656 after cleaning it up.

@ghost ghost added the Issue-Bug A bug to squash. label Jan 7, 2022
Copy link
Member

@daxian-dbw daxian-dbw left a comment

Choose a reason for hiding this comment

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

LGTM

@andyleejordan andyleejordan merged commit b362c5e into master Jan 7, 2022
@andyleejordan andyleejordan deleted the andschwa/language-tests branch January 7, 2022 20:19
@andyleejordan
Copy link
Member Author

Thanks @daxian-dbw!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Test Issue-Bug A bug to squash. Issue-Enhancement A feature request (enhancement).
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Fix tests in Language/LanguageServiceTests.cs
2 participants