view src/testdir/test22.in @ 6989:c0a23e04c929 v7.4.812

patch 7.4.812 Problem: Gcc sanitizer complains about using a NULL pointer to memmove(). Solution: Only call memmove when there is something to move. (Vittorio Zecca)
author Bram Moolenaar <bram@vim.org>
date Sat, 08 Aug 2015 18:23:46 +0200
parents 3fc0f57ecb91
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