Compare commits
1 Commits
6f60ffb8a2
...
7c1d6cabbe
Author | SHA1 | Date | |
---|---|---|---|
7c1d6cabbe |
@ -28,7 +28,7 @@ func TestCancelGitClone(t *testing.T) {
|
|||||||
t.Fatal("cloning should have been interrupted")
|
t.Fatal("cloning should have been interrupted")
|
||||||
}
|
}
|
||||||
|
|
||||||
if _, err := os.Stat(dir); !os.IsNotExist(err) {
|
if _, err := os.Stat(dir); err != nil && !os.IsNotExist(err) {
|
||||||
t.Fatal("recipe directory should have been deleted")
|
t.Fatal("recipe repo was not deleted")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user