From a8fec15899c070195a2a29d8a44c20249199f258 Mon Sep 17 00:00:00 2001 From: oni-link Date: Sun, 17 Apr 2016 21:07:22 +0200 Subject: [PATCH] mbyte_spec.lua: Fix wording --- test/unit/mbyte_spec.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))