Format with stylua

This commit is contained in:
hrsh7th
2023-05-01 14:23:21 +00:00
committed by github-actions[bot]
parent 5547295bd0
commit 0cb4b8a679

View File

@@ -319,18 +319,18 @@ describe('entry', function()
textEdit = { textEdit = {
newText = "constructor() {\n this.test = 'test';\n }", newText = "constructor() {\n this.test = 'test';\n }",
range = { range = {
["end"] = { ['end'] = {
character = 2, character = 2,
col = 3, col = 3,
line = 2, line = 2,
row = 3 row = 3,
}, },
start = { start = {
character = 0, character = 0,
line = 2 line = 2,
} },
} },
} },
}) })
assert.are.equal(e:get_offset(), 3) assert.are.equal(e:get_offset(), 3)
assert.are.equal(e:get_vim_item(e:get_offset()).word, 'constructor() {') assert.are.equal(e:get_vim_item(e:get_offset()).word, 'constructor() {')