diff options
| author | hkalbasi <hamidrezakalbasi@protonmail.com> | 2024-03-29 05:34:43 +0330 |
|---|---|---|
| committer | hkalbasi <hamidrezakalbasi@protonmail.com> | 2024-03-29 05:34:43 +0330 |
| commit | beec6914c84b1f7459847d0226086759e63b3f2c (patch) | |
| tree | aeaf7734d254a75bd771f92196a3496d812803de /docs/dev | |
| parent | ad51a17c627b4ca57f83f0dc1f3bb5f3f17e6d0b (diff) | |
| download | rust-beec6914c84b1f7459847d0226086759e63b3f2c.tar.gz rust-beec6914c84b1f7459847d0226086759e63b3f2c.zip | |
Resolve tests per file instead of per crate in test explorer
Diffstat (limited to 'docs/dev')
| -rw-r--r-- | docs/dev/lsp-extensions.md | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/docs/dev/lsp-extensions.md b/docs/dev/lsp-extensions.md index 8db66687aae..939b1819c7e 100644 --- a/docs/dev/lsp-extensions.md +++ b/docs/dev/lsp-extensions.md @@ -1,5 +1,5 @@ <!--- -lsp/ext.rs hash: d5febcbf63650753 +lsp/ext.rs hash: 223f48a89a5126a0 If you need to change the above hash to make the test pass, please check if you need to adjust this doc as well and ping this issue: @@ -440,7 +440,11 @@ interface DiscoverTestResults { // For each test which its id is in this list, the response // contains all tests that are children of this test, and // client should remove old tests not included in the response. - scope: string[]; + scope: string[] | undefined; + // For each file which its uri is in this list, the response + // contains all tests that are located in this file, and + // client should remove old tests not included in the response. + scopeFile: lc.TextDocumentIdentifier[] | undefined; } ``` |
