aboutsummaryrefslogtreecommitdiff
path: root/test/unit/mbyte_spec.lua
diff options
context:
space:
mode:
authoroni-link <knil.ino@gmail.com>2016-04-17 21:07:22 +0200
committeroni-link <knil.ino@gmail.com>2016-04-17 21:07:22 +0200
commita8fec15899c070195a2a29d8a44c20249199f258 (patch)
treeb518d84946634057d570c29b47311b9d1a989a46 /test/unit/mbyte_spec.lua
parentcfe4352897a3e9075185f9f3cf8ae9f9f4bbc944 (diff)
downloadrneovim-a8fec15899c070195a2a29d8a44c20249199f258.tar.gz
rneovim-a8fec15899c070195a2a29d8a44c20249199f258.tar.bz2
rneovim-a8fec15899c070195a2a29d8a44c20249199f258.zip
mbyte_spec.lua: Fix wording
Diffstat (limited to 'test/unit/mbyte_spec.lua')
-rw-r--r--test/unit/mbyte_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/mbyte_spec.lua b/test/unit/mbyte_spec.lua
index 6e5af0918b..eb7e79c59a 100644
--- a/test/unit/mbyte_spec.lua
+++ b/test/unit/mbyte_spec.lua
@@ -208,7 +208,7 @@ describe('mbyte', function()
eq(1, pcc[6])
-- Combining characters U+0300, U+0301, U+0302, U+0303, U+0304,
- -- U+0305, U+0306, but only write save six.
+ -- U+0305, U+0306, but only save six (= MAX_MCO).
local pcc = to_intp()
eq(0x007f, mbyte.utfc_ptr2char_len(to_string(
{0x7f, 0xcc, 0x80, 0xcc, 0x81, 0xcc, 0x82, 0xcc, 0x83, 0xcc, 0x84, 0xcc, 0x85, 0xcc, 0x86}), pcc, 15))