git: use with-test-directory.
parent
b473c5ff4c
commit
5a0bc9621d
|
@ -9,11 +9,9 @@ IN: git.tests
|
||||||
|
|
||||||
: with-empty-test-git-repo ( quot -- )
|
: with-empty-test-git-repo ( quot -- )
|
||||||
'[
|
'[
|
||||||
[
|
{ "git" "init" } run-process drop
|
||||||
{ "git" "init" } run-process drop
|
@
|
||||||
@
|
] with-test-directory ; inline
|
||||||
] cleanup-unique-directory
|
|
||||||
] with-temp-directory ; inline
|
|
||||||
|
|
||||||
: with-zero-byte-file-repo ( quot -- )
|
: with-zero-byte-file-repo ( quot -- )
|
||||||
'[
|
'[
|
||||||
|
|
Loading…
Reference in New Issue