|
| From: | Peter Rosin |
| Subject: | Re: [PATCH] test defs: add subroutine for input unindenting |
| Date: | Tue, 01 Mar 2011 13:19:30 +0100 |
| User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 |
Den 2011-03-01 10:40 skrev Stefano Lattarini:
> I'd also like to enhance `self-check-unindent.test' to ensure that
> `unindent' remains usable in parallel in the future. OK to commit
> the patch below (to master)? I'll push in 72 hours if there is no
> objection.
One other thing that could conceivable be tested is that unindent
behaves as desired when the first non-empty line has only spaces
and tabs on it. E.g.
cat > input << EOF
${tab}${sp}
${tab}${sp}${tab}Hello World!
EOF
cat > exp << EOF
${tab}Hello World!
EOF
Cheers,
Peter
| [Prev in Thread] | Current Thread | [Next in Thread] |