aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2022-03-10 07:34:55 +0100
committerGitHub <noreply@github.com>2022-03-10 14:34:55 +0800
commita7b1c8893c602196541e94b8b24c4c70c32c25b0 (patch)
treec763c8446efbefe113a0c1837e8b6b9b762e260d /test
parent487f52c9d2580b9a10010071f9263d19bc069bd1 (diff)
downloadrneovim-a7b1c8893c602196541e94b8b24c4c70c32c25b0.tar.gz
rneovim-a7b1c8893c602196541e94b8b24c4c70c32c25b0.tar.bz2
rneovim-a7b1c8893c602196541e94b8b24c4c70c32c25b0.zip
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>
Diffstat (limited to 'test')
-rw-r--r--test/functional/editor/put_spec.lua4
-rw-r--r--test/functional/ui/sign_spec.lua2
2 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/editor/put_spec.lua b/test/functional/editor/put_spec.lua
index c367f8fdd0..cc9fce8f67 100644
--- a/test/functional/editor/put_spec.lua
+++ b/test/functional/editor/put_spec.lua
@@ -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.
diff --git a/test/functional/ui/sign_spec.lua b/test/functional/ui/sign_spec.lua
index f718786557..dbc92ca222 100644
--- a/test/functional/ui/sign_spec.lua
+++ b/test/functional/ui/sign_spec.lua
@@ -482,7 +482,7 @@ describe('Signs', function()
]])
end)
- it('ignores signs with no icon and text when calculting the signcolumn width', function()
+ it('ignores signs with no icon and text when calculating the signcolumn width', function()
feed('ia<cr>b<cr>c<cr><esc>')
command('set number')
command('set signcolumn=auto:2')