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:
parent
1e36f94746
commit
06de521503
|
@ -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,
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue
Block a user