Skip to contentSkip to conversation

t: fix duplicate words of "output"

PATCH In review Li Peng 3 participants 3 messages Jun 16, 2016

lore
Share & tools
lore

Li Peng

author
#0 lore raw

PATCH 1/1 t: fix duplicate words of "output"

Fix duplicate words of "output" in comment.

---
 t/t0000-basic.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
t/t0000-basic.sh +1 -1
index 79b9074..60811a3 100755
@@ -98,7 +98,7 @@ check_sub_test_lib_test () {
 }
 
 check_sub_test_lib_test_err () {
-	name="$1" # stdin is the expected output output from the test
+	name="$1" # stdin is the expected output from the test
 	# expected error output is in descriptior 3
 	(
 		cd "$name" &&
Signature · 1 line
1.8.3.1
#1 lore raw
Quoted 12 lines · Li Peng

Fix duplicate words of "output" in comment.

---
 t/t0000-basic.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
t/t0000-basic.sh +0 -0
index 79b9074..60811a3 100755

t/t0000-basic.sh check_sub_test_lib_test () { · line 101

Quoted 5 lines
t/t0000-basic.sh +1 -1
@@ -98,7 +98,7 @@ check_sub_test_lib_test () {
 }
 
 check_sub_test_lib_test_err () {
-	name="$1" # stdin is the expected output output from the test
+	name="$1" # stdin is the expected output from the test

The original is marginally correct. The first "output" is a noun, "expected output", the second one is a pp of verb "to output", i.e. "to produce".

I would have written it as "the expected output produced by the test", though.

#2 lore raw
Quoted 23 lines · Junio C Hamano
Quoted 12 lines · Li Peng

Fix duplicate words of "output" in comment.

---
 t/t0000-basic.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
t/t0000-basic.sh +0 -0
index 79b9074..60811a3 100755

t/t0000-basic.sh check_sub_test_lib_test () { · line 101

Quoted 5 lines
t/t0000-basic.sh +1 -1
@@ -98,7 +98,7 @@ check_sub_test_lib_test () {
 }
 
 check_sub_test_lib_test_err () {
-	name="$1" # stdin is the expected output output from the test
+	name="$1" # stdin is the expected output from the test

The original is marginally correct. The first "output" is a noun, "expected output", the second one is a pp of verb "to output", i.e. "to produce".

Quoted 2 lines

I would have written it as "the expected output produced by the test", though.

Right, the original form is quite hard to understand %)