chore: fix typos (#17331)

Co-authored-by: Hongyi Lyu <hongyi.lyu95@gmail.com>
Co-authored-by: Gregory Anders <greg@gpanders.com>
Co-authored-by: notomo <notomo.motono@gmail.com>
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
This commit is contained in:
dundargoc
2022-03-10 07:34:55 +01:00
committed by GitHub
parent 487f52c9d2
commit a7b1c8893c
9 changed files with 17 additions and 16 deletions

View File

@@ -138,9 +138,9 @@ describe('put command', function()
end -- create_test_defs() }}}
local function find_cursor_position(expect_string) -- {{{
-- There must only be one occurance of the character 'x' in
-- There must only be one occurrence of the character 'x' in
-- expect_string.
-- This function removes that occurance, and returns the position that
-- This function removes that occurrence, and returns the position that
-- it was in.
-- This returns the cursor position that would leave the 'x' in that
-- place if we feed 'ix<esc>' and the string existed before it.