summaryrefslogtreecommitdiff
path: root/tests/wc/Test.pm
diff options
context:
space:
mode:
Diffstat (limited to 'tests/wc/Test.pm')
-rwxr-xr-xtests/wc/Test.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/wc/Test.pm b/tests/wc/Test.pm
index 0f7de7831..fc507dc49 100755
--- a/tests/wc/Test.pm
+++ b/tests/wc/Test.pm
@@ -13,7 +13,8 @@ my @tv = (
['a4', '-w', 'x', " 1\n", 0],
['a5', '-w', "x y\n", " 2\n", 0],
['a6', '-w', "x y\nz", " 3\n", 0],
-['a7', '-l', "x y", " 1\n", 0],
+# Remember, -l counts *newline* bytes, not lines.
+['a7', '-l', "x y", " 0\n", 0],
['a8', '-l', "x y\n", " 1\n", 0],
['a9', '-l', "x\ny\n", " 2\n", 0],
['b0', '', "", " 0 0 0\n", 0],