Fix invalid temporary text

This commit is contained in:
hrsh7th
2021-08-27 23:06:35 +09:00
parent 61984efaf0
commit 405581e740
5 changed files with 27 additions and 4 deletions

View File

@@ -275,7 +275,7 @@ describe('entry', function()
insertTextFormat = 1,
insertText = '__init__(self) -> None:\n pass',
})
assert.are.equal(e:get_vim_item(e:get_offset()).word, '__init__')
assert.are.equal(e:get_vim_item(e:get_offset()).word, '__init__(self) -> None:')
assert.are.equal(e:get_filter_text(), '__init__')
end)
end)