summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorsumneko <sumneko@hotmail.com>2021-10-17 14:20:31 +0800
committersumneko <sumneko@hotmail.com>2021-10-17 14:20:31 +0800
commit83dbd60d0a3fbc8f2356d1add7422cc9ad1cec64 (patch)
treee9e309cd2cacbb00cff7341633ef98553dbf84ac /test
parent207fc22528020cc2f51128d817d43d9d26133c53 (diff)
downloadlua-language-server-83dbd60d0a3fbc8f2356d1add7422cc9ad1cec64.zip
Revert "stash test"
This reverts commit 207fc22528020cc2f51128d817d43d9d26133c53.
Diffstat (limited to 'test')
-rw-r--r--test/basic/textmerger.lua54
1 files changed, 0 insertions, 54 deletions
diff --git a/test/basic/textmerger.lua b/test/basic/textmerger.lua
index 8cdbe5b7..a3a11f62 100644
--- a/test/basic/textmerger.lua
+++ b/test/basic/textmerger.lua
@@ -1,6 +1,5 @@
local files = require 'files'
local tm = require 'text-merger'
-local json = require 'json'
local function TEST(source)
return function (expect)
@@ -218,56 +217,3 @@ print(12345)
text = "",
},
}
-
----@diagnostic disable:trailing-space
-TEST ''
-[[x = { "test" } }]]
-{
- json.decode [[{"range":{"end":{"line":0,"character":0},"start":{"line":0,"character":0}},"rangeLength":0,"text":"x"}]],
- json.decode [[{"range":{"end":{"line":0,"character":1},"start":{"line":0,"character":1}},"rangeLength":0,"text":" "}]],
- json.decode [[{"range":{"end":{"line":0,"character":2},"start":{"line":0,"character":2}},"rangeLength":0,"text":"="}]],
- json.decode [[{"range":{"end":{"line":0,"character":3},"start":{"line":0,"character":3}},"rangeLength":0,"text":" "}]],
---[[
-x =
-]]
- json.decode [[{"range":{"end":{"line":0,"character":4},"start":{"line":0,"character":4}},"rangeLength":0,"text":"{ \r }"}]],
---[[
-x = {
- }
-]]
- json.decode [[{"range":{"end":{"line":0,"character":7},"start":{"line":0,"character":6}},"rangeLength":1,"text":""}]],
---[[
-x = { }
- json.decode [[{"range":{"end":{"line":0,"character":6},"start":{"line":0,"character":6}},"rangeLength":0,"text":"\"\r\""}]],
---[[
-x = { "
-" }
-]]
- json.decode [[{"range":{"end":{"line":0,"character":8},"start":{"line":0,"character":7}},"rangeLength":1,"text":""}]],
---[[
-x = { "" }
-]]
- json.decode [[{"range":{"end":{"line":0,"character":7},"start":{"line":0,"character":7}},"rangeLength":0,"text":"t"}]],
---[[
-x = { "t" }
-]]
- json.decode [[{"range":{"end":{"line":0,"character":8},"start":{"line":0,"character":8}},"rangeLength":0,"text":"e"}]],
- json.decode [[{"range":{"end":{"line":0,"character":9},"start":{"line":0,"character":9}},"rangeLength":0,"text":"s"}]],
- json.decode [[{"range":{"end":{"line":0,"character":10},"start":{"line":0,"character":10}},"rangeLength":0,"text":"t"}]],
---[[
-x = { "test" }
-]]
- json.decode [[{"range":{"end":{"line":0,"character":13},"start":{"line":0,"character":5}},"rangeLength":8,"text":""}]],
---[[
-x = {}
-]]
- json.decode [[{"range":{"end":{"line":0,"character":6},"start":{"line":0,"character":4}},"rangeLength":2,"text":""}]],
---[[
-x =
-]]
- json.decode [[{"range":{"end":{"line":0,"character":4},"start":{"line":0,"character":4}},"rangeLength":0,"text":"{ \"test\" }"}]],
---[[
-x = { \"test\" }
-]]
-}
----@diagnostic enable:trailing-space