Skip to content

Commit

Permalink
debug ci
Browse files Browse the repository at this point in the history
  • Loading branch information
fox0430 committed Feb 11, 2025
1 parent 422a01b commit 7f5c261
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/tlspclient.nim
Original file line number Diff line number Diff line change
Expand Up @@ -1267,15 +1267,13 @@ suite "lsp: Send requests":
Text = "let a: int = 0"

block:
let
rootPath = getCurrentDir()
params = initInitializeParams(ServerName, rootPath, Trace)
let params = initInitializeParams(ServerName, rootDir, Trace)
assert client.lspInitialize(BufferId, params).isOk

# workspace/didChangeConfiguration notification
assert (waitFor client.workspaceDidChangeConfiguration).isOk

let path = getCurrentDir() / "test.nim"
let path = rootDir / "test.nim"
check (waitFor client.textDocumentDidOpen(path, LanguageId, Text)).isOk

template prepareLsp(bufferId: int, langId: LanguageId, rootDir, path, text: string) =
Expand Down

0 comments on commit 7f5c261

Please sign in to comment.