Add test script for git-stripspace.
commit30d038e2ffb5d11cd8047c0e88b71f39f379dd6c
authorCarlos Rica <jasampler@gmail.com>
Mon, 25 Jun 2007 19:24:21 +0000 (25 21:24 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 27 Jun 2007 06:36:40 +0000 (26 23:36 -0700)
treed7a84f692897fa6ead954c24d27cedfe25a69111
parent9690c118facbdc4539bbc4921a94ac2edee5efd3
Add test script for git-stripspace.

These tests check some features that git-stripspace already has
and those that it should manage well: Removing trailing spaces
from lines, removing blank lines at the beginning and end,
unifying multiple lines between paragraphs, doing the correct
when there is no newline at the last line, etc.

It seems that the implementation needs to save the whole line
in memory to be able to manage correctly long lines with
text and spaces conveniently distribuited on them.

Signed-off-by: Carlos Rica <jasampler@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t0030-stripspace.sh [new file with mode: 0755]