Add ability to replay from exe
[lsp-test.git] / test / data / script / test.lsp
similarity index 59%
rename from test.lsp
rename to test/data/script/test.lsp
index 954ca5b27bba3ebc80b7e21e1d07697fb1181999..52c0a954e7373bcffd184448427446d6fedafbc8 100644 (file)
--- a/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"
 }