@matheusbsbs / matheus-bagliano / commits / 17c102e30d
Fork 0

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 <chriscool@tuxfamily.org> Mentored-by: Kaartic Sivaraam <kaartic.sivaraam@gmail.com> Signed-off-by: Shourya Shukla <shouryashukla.oo@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Shourya Shukla committed Aug 21, 2020 at 22:29 UTC 17c102e30dc3a7c9306112217cabd99365ae4fb8
1 file changed +5 -5
t/t7401-submodule-summary.sh
+5 -5
@@ -181,7 +181,7 @@ test_expect_success 'typechanged submodule(submodule->blob), --cached' "
181 < Add foo5
182
183 EOF
184 - test_i18ncmp actual expected
184 + test_i18ncmp expected actual
185 "
186
187 test_expect_success 'typechanged submodule(submodule->blob), --files' "
@@ -191,7 +191,7 @@ test_expect_success 'typechanged submodule(submodule->blob), --files' "
191 > Add foo5
192
193 EOF
194 - test_i18ncmp actual expected
194 + test_i18ncmp expected actual
195 "
196
197 rm -rf sm1 &&
@@ -202,7 +202,7 @@ test_expect_success 'typechanged submodule(submodule->blob)' "
202 * sm1 $head4(submodule)->$head5(blob):
203
204 EOF
205 - test_i18ncmp actual expected
205 + test_i18ncmp expected actual
206 "
207
208 rm -f sm1 &&
@@ -215,7 +215,7 @@ test_expect_success 'nonexistent commit' "
215 Warn: sm1 doesn't contain commit $head4_full
216
217 EOF
218 - test_i18ncmp actual expected
218 + test_i18ncmp expected actual
219 "
220
221 commit_file
@@ -283,7 +283,7 @@ EOF
283
284 test_expect_success '--for-status' "
285 git submodule summary --for-status HEAD^ >actual &&
286 - test_i18ncmp actual - <<EOF
286 + test_i18ncmp - actual <<EOF
287 * sm1 $head6...0000000:
288
289 * sm2 0000000...$head7 (2):