Skip to content

Commit 17c102e

Browse files
periperidipgitster
authored andcommitted
t7401: change syntax of test_i18ncmp calls for clarity
Change the test_i18ncmp syntax from 'test_i18ncmp actual expected' to 'test_i18ncmp expected actual' to align it with the convention followed by other tests in the test script. Mentored-by: Christian Couder <[email protected]> Mentored-by: Kaartic Sivaraam <[email protected]> Signed-off-by: Shourya Shukla <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 7303da3 commit 17c102e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

t/t7401-submodule-summary.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ test_expect_success 'typechanged submodule(submodule->blob), --cached' "
181181
< Add foo5
182182
183183
EOF
184-
test_i18ncmp actual expected
184+
test_i18ncmp expected actual
185185
"
186186

187187
test_expect_success 'typechanged submodule(submodule->blob), --files' "
@@ -191,7 +191,7 @@ test_expect_success 'typechanged submodule(submodule->blob), --files' "
191191
> Add foo5
192192
193193
EOF
194-
test_i18ncmp actual expected
194+
test_i18ncmp expected actual
195195
"
196196

197197
rm -rf sm1 &&
@@ -202,7 +202,7 @@ test_expect_success 'typechanged submodule(submodule->blob)' "
202202
* sm1 $head4(submodule)->$head5(blob):
203203
204204
EOF
205-
test_i18ncmp actual expected
205+
test_i18ncmp expected actual
206206
"
207207

208208
rm -f sm1 &&
@@ -215,7 +215,7 @@ test_expect_success 'nonexistent commit' "
215215
Warn: sm1 doesn't contain commit $head4_full
216216
217217
EOF
218-
test_i18ncmp actual expected
218+
test_i18ncmp expected actual
219219
"
220220

221221
commit_file
@@ -283,7 +283,7 @@ EOF
283283

284284
test_expect_success '--for-status' "
285285
git submodule summary --for-status HEAD^ >actual &&
286-
test_i18ncmp actual - <<EOF
286+
test_i18ncmp - actual <<EOF
287287
* sm1 $head6...0000000:
288288
289289
* sm2 0000000...$head7 (2):

0 commit comments

Comments
 (0)