From 8461d49df08a241e68d4b0d0b1a2b93bafc1246b Mon Sep 17 00:00:00 2001 From: Pádraig Brady
Date: Thu, 10 Jul 2008 09:36:49 +0100 Subject: tests: expand: test for lines starting with both spaces and tabs The expand released in current distributions (Fedora Core 4 - Fedora 9 at least), doesn't expand --initial tabs if spaces are present. tests/misc/expand: Add test to verify --initial works correctly with lines starting with both spaces and tabs. --- tests/misc/expand | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/misc/expand') diff --git a/tests/misc/expand b/tests/misc/expand index b386737b1..468fdeebd 100755 --- a/tests/misc/expand +++ b/tests/misc/expand @@ -28,6 +28,7 @@ my @Tests = ['t1', '--tabs=3', {IN=>"a\tb"}, {OUT=>"a b"}], ['t2', '--tabs=3,6,9', {IN=>"a\tb\tc\td\te"}, {OUT=>"a b c d e"}], ['i1', '--tabs=3 -i', {IN=>"\ta\tb"}, {OUT=>" a\tb"}], + ['i2', '--tabs=3 -i', {IN=>" \ta\tb"}, {OUT=>" a\tb"}], ); my $save_temps = $ENV{DEBUG}; -- cgit v1.2.3-70-g09d2