aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2024-09-29 11:54:12 +0200
committerGitHub <noreply@github.com>2024-09-29 09:54:12 +0000
commit2c937d723dd6f64705bf4d901254683ba32b2846 (patch)
treed58b8905507c591f90dd86a56fb45d7643e79c60 /test
parent1405034ba3b1765e451304be0ee8ddc4d285ee87 (diff)
downloadrneovim-2c937d723dd6f64705bf4d901254683ba32b2846.tar.gz
rneovim-2c937d723dd6f64705bf4d901254683ba32b2846.tar.bz2
rneovim-2c937d723dd6f64705bf4d901254683ba32b2846.zip
docs: misc (#30177)
Co-authored-by: Christian Clason <c.clason@uni-graz.at> Co-authored-by: Riley Bruins <ribru17@hotmail.com> Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Diffstat (limited to 'test')
-rw-r--r--test/README.md2
-rw-r--r--test/old/testdir/test_normal.vim2
-rw-r--r--test/unit/mbyte_spec.lua2
-rw-r--r--test/unit/termkey_spec.lua2
4 files changed, 4 insertions, 4 deletions
diff --git a/test/README.md b/test/README.md
index 1477bc593e..d1b053fca3 100644
--- a/test/README.md
+++ b/test/README.md
@@ -263,7 +263,7 @@ by the semantic component they are testing.
Lint
====
-`make lint` (and `make lualint`) runs [luacheck](https://github.com/mpeterv/luacheck)
+`make lint` (and `make lintlua`) runs [luacheck](https://github.com/mpeterv/luacheck)
on the test code.
If a luacheck warning must be ignored, specify the warning code. Example:
diff --git a/test/old/testdir/test_normal.vim b/test/old/testdir/test_normal.vim
index 469a568820..46fddd6c1a 100644
--- a/test/old/testdir/test_normal.vim
+++ b/test/old/testdir/test_normal.vim
@@ -4284,7 +4284,7 @@ func Test_halfpage_longline()
endfunc
" Test for Ctrl-E with long line and very narrow window,
-" used to cause an inifite loop
+" used to cause an infinite loop
func Test_scroll_longline_no_loop()
4vnew
setl smoothscroll number showbreak=> scrolloff=2
diff --git a/test/unit/mbyte_spec.lua b/test/unit/mbyte_spec.lua
index 0a322ce651..bdc111de2c 100644
--- a/test/unit/mbyte_spec.lua
+++ b/test/unit/mbyte_spec.lua
@@ -350,7 +350,7 @@ describe('mbyte', function()
describe('utf_fold', function()
itp('does not crash with surrogates #30527', function()
- eq(0xDDFB, lib.utf_fold(0xDDFB))
+ eq(0xddfb, lib.utf_fold(0xddfb)) -- low surrogate, invalid as a character
eq(0xd800, lib.utf_fold(0xd800)) -- high surrogate, invalid as a character
end)
diff --git a/test/unit/termkey_spec.lua b/test/unit/termkey_spec.lua
index ffb83d5852..0381cfd15a 100644
--- a/test/unit/termkey_spec.lua
+++ b/test/unit/termkey_spec.lua
@@ -332,7 +332,7 @@ describe('termkey', function()
t.eq(termkey.termkey_get_buffer_remaining(tk), 511) -- buffer free 511 after push_bytes
t.eq(termkey.termkey_get_buffer_size(tk), 512) -- buffer size 512 after push_bytes
- t.eq(termkey.termkey_getkey(tk, key), termkey.TERMKEY_RES_KEY) -- buffered key still useable after resize
+ t.eq(termkey.termkey_getkey(tk, key), termkey.TERMKEY_RES_KEY) -- buffered key still usable after resize
termkey.termkey_destroy(tk)
end)