Remove duplicated TempFile testsuit (#2508)
This commit is contained in:
parent
f300fa9bb2
commit
ffe79b026e
8 changed files with 25 additions and 31 deletions
|
@ -1,10 +1,14 @@
|
|||
package test
|
||||
|
||||
import "testing"
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/coredns/coredns/plugin/test"
|
||||
)
|
||||
|
||||
func TestTempFile(t *testing.T) {
|
||||
t.Parallel()
|
||||
_, f, e := TempFile(".", "test")
|
||||
_, f, e := test.TempFile(".", "test")
|
||||
if e != nil {
|
||||
t.Fatalf("Failed to create temp file: %s", e)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue