Thread (1 message) 1 message, 1 author, 2024-07-22

Re: [PATCH v5 2/5] t: move reftable/tree_test.c to the unit testing framework

From: Junio C Hamano <hidden>
Date: 2024-07-22 17:56:49
Subsystem: the rest · Maintainer: Linus Torvalds

Possibly related (same subject, not in this thread)

Junio C Hamano [off-list ref] writes:
Chandra Pratap [off-list ref] writes:
quoted
+	/* pseudo-randomly insert the pointers for elements between
+	 * values[1] and values[10] (included) in the tree.
+	 */
Style?
diff --git a/t/unit-tests/t-reftable-tree.c b/t/unit-tests/t-reftable-tree.c
index d7d530f2f7..e7d774d774 100644
--- a/t/unit-tests/t-reftable-tree.c
+++ b/t/unit-tests/t-reftable-tree.c
@@ -32,8 +32,9 @@ static void t_tree_search(void)
 	struct tree_node *nodes[11] = { 0 };
 	size_t i = 1;
 
-	/* pseudo-randomly insert the pointers for elements between
-	 * values[1] and values[10] (included) in the tree.
+	/*
+	 * Pseudo-randomly insert the pointers for elements between
+	 * values[1] and values[10] (inclusive) in the tree.
 	 */
 	do {
 		nodes[i] = tree_search(&values[i], &root, &t_compare, 1);
-- 
2.46.0-rc1-48-g0900f1888e
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help