0
0
mirror of https://github.com/thegeeklab/wp-git-action.git synced 2024-06-02 18:29:41 +02:00

fix tests

This commit is contained in:
Robert Kaussow 2024-05-05 22:37:06 +02:00
parent 1e36f94746
commit 06de521503
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0

View File

@ -54,6 +54,7 @@ func TestIsDirty(t *testing.T) {
name: "dirty repo",
repo: Repository{
WorkDir: t.TempDir(),
Branch: "main",
},
want: true,
},
@ -61,6 +62,7 @@ func TestIsDirty(t *testing.T) {
name: "clean repo",
repo: Repository{
WorkDir: t.TempDir(),
Branch: "main",
},
want: false,
},