Format with stylua
This commit is contained in:
committed by
github-actions[bot]
parent
5547295bd0
commit
0cb4b8a679
@@ -319,18 +319,18 @@ describe('entry', function()
|
||||
textEdit = {
|
||||
newText = "constructor() {\n this.test = 'test';\n }",
|
||||
range = {
|
||||
["end"] = {
|
||||
['end'] = {
|
||||
character = 2,
|
||||
col = 3,
|
||||
line = 2,
|
||||
row = 3
|
||||
row = 3,
|
||||
},
|
||||
start = {
|
||||
character = 0,
|
||||
line = 2
|
||||
}
|
||||
}
|
||||
}
|
||||
line = 2,
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
assert.are.equal(e:get_offset(), 3)
|
||||
assert.are.equal(e:get_vim_item(e:get_offset()).word, 'constructor() {')
|
||||
|
||||
Reference in New Issue
Block a user