mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 08:44:17 -04:00
Remove duplicated TempFile testsuit (#2508)
This commit is contained in:
@@ -5,6 +5,7 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/coredns/coredns/plugin/test"
|
||||
"github.com/coredns/coredns/plugin/file"
|
||||
|
||||
"github.com/miekg/dns"
|
||||
@@ -13,7 +14,7 @@ import (
|
||||
func TestZoneReload(t *testing.T) {
|
||||
file.TickTime = 1 * time.Second
|
||||
|
||||
name, rm, err := TempFile(".", exampleOrg)
|
||||
name, rm, err := test.TempFile(".", exampleOrg)
|
||||
if err != nil {
|
||||
t.Fatalf("Failed to create zone: %s", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user