From 0cb4b8a679daf9ed1b16a718065596f10bebe2af Mon Sep 17 00:00:00 2001 From: hrsh7th Date: Mon, 1 May 2023 14:23:21 +0000 Subject: [PATCH] Format with stylua --- lua/cmp/entry_spec.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lua/cmp/entry_spec.lua b/lua/cmp/entry_spec.lua index b899752..9f7e291 100644 --- a/lua/cmp/entry_spec.lua +++ b/lua/cmp/entry_spec.lua @@ -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() {')