-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds tests for most LSP handler methods. Not all are tested, and not all code paths are tested either (e.g. utility functions, shared object language loading, etc.) but the suite is pretty comprehensive other than that. They are about as E2E as possible without mocking an entire LSP client. Co-authored-by: Riley Bruins <[email protected]>
- Loading branch information
1 parent
d4f86d0
commit cccb4e0
Showing
5 changed files
with
1,044 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,14 +43,13 @@ jobs: | |
components: rustfmt | ||
- run: cargo fmt --check | ||
|
||
# TODO: Run this once tests are added | ||
# test: | ||
# name: Test | ||
# runs-on: ubuntu-latest | ||
# timeout-minutes: 10 | ||
# needs: build | ||
# steps: | ||
# - uses: actions/checkout@v3 | ||
# - uses: dtolnay/[email protected] | ||
# id: toolchain | ||
# - run: cargo test | ||
test: | ||
name: Test | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 10 | ||
needs: build | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: dtolnay/[email protected] | ||
id: toolchain | ||
- run: cargo test |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.