Skip to contentSkip to conversation

test-lib: fix typo in test summary message

PATCH In review Amogh 2 participants 2 messages May 25 – Jun 1

lore
Share & tools
lore

Amogh

author
#0 lore raw

PATCH 1/1 test-lib: fix typo in test summary message

There's a small typo ("passin", should be "passing") in the summary/description message for t0000-basic. Even though this isn't a user-facing string it should improve the developer experience + reduce confusion when working on the codebase.

---
 t/t0000-basic.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
t/t0000-basic.sh +1 -1
index 2b63e1c86c..9f6991a9ab 100755
@@ -141,7 +141,7 @@ test_expect_success 'subtest: a passing TODO test' '
 	EOF
 '
 
-test_expect_success 'subtest: 2 TODO tests, one passin' '
+test_expect_success 'subtest: 2 TODO tests, one passing' '
 	write_and_run_sub_test_lib_test_err partially-passing-todos <<-\EOF &&
 	test_expect_failure "pretend we have a known breakage" "false"
 	test_expect_success "pretend we have a passing test" "true"
Signature · 1 line
2.39.5 (Apple Git-154)
#1 lore raw
Quoted 4 lines · Amogh

There's a small typo ("passin", should be "passing") in the summary/description message for t0000-basic. Even though this isn't a user-facing string it should improve the developer experience + reduce confusion when working on the codebase.

I'd be surprised if this actually causes any confusion, so I feel like the explanation is a bit lofty. But ultimately, one less typo is a good thing, so the change makes sense to me.

Your patch is missing the "Signed-off-by:" trailer though.

Thanks!

Patrick