From 18005e1153842a5e4437261dfc709bf61c10c3e3 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 25 Aug 2001 09:04:54 +0000 Subject: Add tests for -s 0 and -w 0. --- tests/uniq/Test.pm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests') diff --git a/tests/uniq/Test.pm b/tests/uniq/Test.pm index 4f087b8c7..95d7c79ad 100644 --- a/tests/uniq/Test.pm +++ b/tests/uniq/Test.pm @@ -50,6 +50,10 @@ my @tv = ( ['53', '-s 1 -f 1',"a aaa\nb aaa\n", "a aaa\n", 0], # Fixed in 2.0.15 ['54', '-s 4', "abc\nabcd\n", "abc\n", 0], +# Supported in 2.0.15 +['55', '-s 0', "abc\nabcd\n", "abc\nabcd\n", 0], +['56', '-s 0', "abc\n", "abc\n", 0], +['57', '-w 0', "abc\nabcd\n", "abc\n", 0], # Only account for a number of characters ['60', '-w 1',"a a\nb a\n", "a a\nb a\n", 0], ['61', '-w 3',"a a\nb a\n", "a a\nb a\n", 0], -- cgit v1.2.3-70-g09d2