Thread (28 messages) 28 messages, 2 authors, 2018-06-09
STALE2971d
Revisions (2)
  1. rfc [diff vs current]
  2. v1 current

[PATCH 01/20] t/README: clarify the description of test_line_count

From: Ævar Arnfjörð Bjarmason <hidden>
Date: 2018-06-08 22:41:57
Subsystem: the rest · Maintainer: Linus Torvalds

Referring to the "length" of a file is ambiguous. We mean the number
of lines, so let's say that.

Changes the description added in fb3340a6a7 ("test-lib: introduce
test_line_count to measure files", 2010-10-31).

Signed-off-by: Ævar Arnfjörð Bjarmason <redacted>
---
 t/README | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/t/README b/t/README
index 8373a27fea..eede11d649 100644
--- a/t/README
+++ b/t/README
@@ -730,7 +730,7 @@ library for your script to use.
 
  - test_line_count (= | -lt | -ge | ...) <length> <file>
 
-   Check whether a file has the length it is expected to.
+   Check whether a file has the number of lines it is expected to.
 
  - test_path_is_file <path> [<diagnosis>]
    test_path_is_dir <path> [<diagnosis>]
-- 
2.17.0.290.gded63e768a
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help