summaryrefslogtreecommitdiff
path: root/tests/pr/pr-tests.pl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pr/pr-tests.pl')
-rwxr-xr-xtests/pr/pr-tests.pl8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/pr/pr-tests.pl b/tests/pr/pr-tests.pl
index f20241426..d06b34f8f 100755
--- a/tests/pr/pr-tests.pl
+++ b/tests/pr/pr-tests.pl
@@ -451,6 +451,14 @@ foreach my $t (@tv)
push @Tests, $new_ent;
}
+# Exercise a bug with pr -m -s (commit 553d347)
+push @Tests,
+ ['merge-w-tabs', '-m -s -t',
+ {IN=>{1=>"a\tb\tc\n"}},
+ {IN=>{2=>"m\tn\to\n"}},
+ {IN=>{3=>"x\ty\tz\n"}},
+ {OUT=>join("\t", qw(a b c m n o x y z)) . "\n"} ];
+
@Tests = triple_test \@Tests;
my $save_temps = $ENV{DEBUG};