aboutsummaryrefslogtreecommitdiff
path: root/test/unit/mbyte_spec.lua
diff options
context:
space:
mode:
authordundargoc <gocdundar@gmail.com>2024-11-24 11:29:39 +0100
committerdundargoc <33953936+dundargoc@users.noreply.github.com>2025-01-11 10:34:12 +0100
commit6a425e7045cca609d95612c0f2cd08d0265238a9 (patch)
tree3d732fb5ce10684dac4e8fb0107c1b3110bd249b /test/unit/mbyte_spec.lua
parentc060a6ea640eb433197ec554ff7cf6469ee1c0e7 (diff)
downloadrneovim-6a425e7045cca609d95612c0f2cd08d0265238a9.tar.gz
rneovim-6a425e7045cca609d95612c0f2cd08d0265238a9.tar.bz2
rneovim-6a425e7045cca609d95612c0f2cd08d0265238a9.zip
docs: misc
Co-authored-by: Axel <axelhjq@gmail.com> Co-authored-by: Colin Kennedy <colinvfx@gmail.com> Co-authored-by: Daiki Noda <sys9kdr@users.noreply.github.com> Co-authored-by: Evgeni Chasnovski <evgeni.chasnovski@gmail.com> Co-authored-by: Jean-Jacq du Plessis <1030058+jj-du-plessis@users.noreply.github.com> Co-authored-by: Juan Giordana <juangiordana@gmail.com> Co-authored-by: Lincoln Wallace <locnnil0@gmail.com> Co-authored-by: Matti Hellström <hellstrom@scm.com> Co-authored-by: Steven Locorotondo <steven.locorotondo@justeattakeaway.com> Co-authored-by: Yochem van Rosmalen <git@yochem.nl> Co-authored-by: glepnir <glephunter@gmail.com> Co-authored-by: ifish <fishioon@live.com>
Diffstat (limited to 'test/unit/mbyte_spec.lua')
-rw-r--r--test/unit/mbyte_spec.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/unit/mbyte_spec.lua b/test/unit/mbyte_spec.lua
index bdc111de2c..2c52aa9217 100644
--- a/test/unit/mbyte_spec.lua
+++ b/test/unit/mbyte_spec.lua
@@ -58,11 +58,11 @@ describe('mbyte', function()
lib.schar_get(buf, lib.utfc_ptr2schar(to_string(seq), firstc))
local str = ffi.string(buf)
if 1 > 2 then -- for debugging
- local tabel = {}
+ local tbl = {}
for i = 1, #str do
- table.insert(tabel, string.format('0x%02x', string.byte(str, i)))
+ table.insert(tbl, string.format('0x%02x', string.byte(str, i)))
end
- print('{ ' .. table.concat(tabel, ', ') .. ' }')
+ print('{ ' .. table.concat(tbl, ', ') .. ' }')
io.stdout:flush()
end
return { str, firstc[0] }