Junio C Hamano [off-list ref] 于2021年5月13日周四 上午7:24写道:
"ZheNing Hu via GitGitGadget" [off-list ref] writes:
quoted
+test_expect_success '%(color:#aa22ac) must succeed' '
+ mkdir test &&
You do not need "mkdir test" here, as "git init test" would take
care of it.
Make sence.
On the other hand, you'd want to get 'test' directory removed after
this passes, so
test_when_finished rm -fr test &&
would be useful.
Well, deleting or not deleting the directory "test" is not a big problem here.
Delete it is ok.
Other than that, looks good to me.
Thanks.
Thanks.
--
ZheNing Hu