diff options
author | sumneko <sumneko@hotmail.com> | 2021-10-17 14:20:31 +0800 |
---|---|---|
committer | sumneko <sumneko@hotmail.com> | 2021-10-17 14:20:31 +0800 |
commit | 83dbd60d0a3fbc8f2356d1add7422cc9ad1cec64 (patch) | |
tree | e9e309cd2cacbb00cff7341633ef98553dbf84ac /test/basic | |
parent | 207fc22528020cc2f51128d817d43d9d26133c53 (diff) | |
download | lua-language-server-83dbd60d0a3fbc8f2356d1add7422cc9ad1cec64.zip |
Revert "stash test"
This reverts commit 207fc22528020cc2f51128d817d43d9d26133c53.
Diffstat (limited to 'test/basic')
-rw-r--r-- | test/basic/textmerger.lua | 54 |
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 |