X-Git-Url: http://git.lukelau.me/?p=lsp-test.git;a=blobdiff_plain;f=test%2Fdata%2Fscript%2Ftest.lsp;fp=test.lsp;h=52c0a954e7373bcffd184448427446d6fedafbc8;hp=954ca5b27bba3ebc80b7e21e1d07697fb1181999;hb=54b23e6b7a8aa59e649a807ab286f0808908935a;hpb=f01fb33a61da785ec470a204069f718e5e7fef78 diff --git a/test.lsp b/test/data/script/test.lsp similarity index 59% rename from test.lsp rename to test/data/script/test.lsp index 954ca5b..52c0a95 100644 --- a/test.lsp +++ b/test/data/script/test.lsp @@ -1,12 +1,12 @@ -"start" { wait for any then open "src/Lib.hs" "haskell" } +"start" { wait for any then open "Test.hs" "haskell" } "get the symbols" { wait for method == "textDocument/publishDiagnostics" then - open "src/Lib.hs" "haskell" + open "Test.hs" "haskell" id1: request "textDocument/documentSymbol" { textDocument: { - uri: uri "src/Lib.hs" + uri: uri "Test.hs" } } } @@ -14,5 +14,5 @@ wait for id == 1 then - open "src/Lib.hs" "haskell" + open "Test.hs" "haskell" }