diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/README.md | 2 | ||||
-rw-r--r-- | test/old/testdir/test_normal.vim | 2 | ||||
-rw-r--r-- | test/unit/mbyte_spec.lua | 2 | ||||
-rw-r--r-- | test/unit/termkey_spec.lua | 2 |
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) |