{"thread":{"id":"54059","subject":"[Microproject] t0000-basic.sh: replaced test -f with test_path_is_file","startedAt":"2020-08-17T17:18:48Z","lastAt":"2020-08-17T17:18:48Z","messageCount":1,"participants":["Gopal Yadav"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"403834","messageId":"CAAUOv8hTahjiLvPzX-281wj4omCMktE+MfnPk-xH4Ty1P4W=xw@mail.gmail.com","threadId":"54059","inReplyTo":null,"subject":"[Microproject] t0000-basic.sh: replaced test -f with test_path_is_file","fromName":"Gopal Yadav","fromEmail":"gopunop@gmail.com","sentAt":"2020-08-17T17:18:22Z","receivedAt":"2020-08-17T17:18:48Z","isPatch":false,"sender":{"key":"gopunop@gmail.com","avatar":null},"body":"t0000-basic.sh: replaced test -f with test_path_is_file\n\nSigned-off-by: Gopal Yadav <gopunop@gmail.com>\n---\nHi,\nI am new here, and thought of starting out by completing the microproject.\n\n\n t/t0000-basic.sh | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)\n\ndiff --git a/t/t0000-basic.sh b/t/t0000-basic.sh\nindex 923281af93..eb99892a87 100755\n--- a/t/t0000-basic.sh\n+++ b/t/t0000-basic.sh\n@@ -1191,7 +1191,7 @@ test_expect_success 'writing this tree with\n--missing-ok' '\n test_expect_success 'git read-tree followed by write-tree should be\nidempotent' '\n     rm -f .git/index &&\n     git read-tree $tree &&\n-    test -f .git/index &&\n+    test_path_is_file .git/index &&\n     newtree=$(git write-tree) &&\n     test \"$newtree\" = \"$tree\"\n '\n-- \n2.20.1\n"}]}