coredns/middleware/test/file_test.go
Miek Gieben e34e414e7f Fix path for asset storage (#144)
Define locations for keys and secondary zones, 'n stuff.

Add a bunch of tests as well.
2016-04-30 21:56:43 +01:00

11 lines
182 B
Go

package test
import "testing"
func TestTempFile(t *testing.T) {
_, f, e := TempFile(t, ".", "test")
if e != nil {
t.Fatalf("failed to create temp file: %s", e)
}
defer f()
}