Initial commit
This commit is contained in:
Vendored
+16
@@ -0,0 +1,16 @@
|
||||
package cache
|
||||
|
||||
import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestIsExist(t *testing.T) {
|
||||
t.Run("Test Remove function", func(t *testing.T) {
|
||||
if err := Remove(); err != nil {
|
||||
t.Error(err)
|
||||
}
|
||||
if IsExist() {
|
||||
t.Errorf("config's files remove is fail.")
|
||||
}
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user