view src/testdir/test21.in @ 27742:3b2c75c0a7ab v8.2.4397

patch 8.2.4397: crash when using many composing characters in error message Commit: https://github.com/vim/vim/commit/34f8117dec685ace52cd9e578e2729db278163fc Author: Bram Moolenaar <Bram@vim.org> Date: Wed Feb 16 12:16:19 2022 +0000 patch 8.2.4397: crash when using many composing characters in error message Problem: Crash when using many composing characters in error message. Solution: Use mb_cptr2char_adv() instead of mb_ptr2char_adv().
author Bram Moolenaar <Bram@vim.org>
date Wed, 16 Feb 2022 13:30:05 +0100
parents 30bdd2e4a6f9
children
line wrap: on
line source

Tests for file with some lines ending in CTRL-M, some not

STARTTEST
:set ta tx
:e!
:$-3,$w! test.out
:qa!
ENDTEST

this lines ends in a
this one doesn't
this one does
and the last one doesn't