test
This commit is contained in:
parent
f20645d1d2
commit
e559ca80ae
16
test/task_test.go
Normal file
16
test/task_test.go
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
package test
|
||||||
|
|
||||||
|
import (
|
||||||
|
"acme-mana/src"
|
||||||
|
"log"
|
||||||
|
"path"
|
||||||
|
"testing"
|
||||||
|
)
|
||||||
|
|
||||||
|
func TestA(t *testing.T) {
|
||||||
|
domain := src.GetAppConfig().Domains[0]
|
||||||
|
name := domain.Name
|
||||||
|
dir := src.GetAppConfig().CertDir
|
||||||
|
certDir := path.Join(dir, name)
|
||||||
|
log.Println(src.ValidExist(certDir, domain))
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user