aboutsummaryrefslogtreecommitdiff
path: root/test/file_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/file_test.go')
-rw-r--r--test/file_test.go8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/file_test.go b/test/file_test.go
index 891e9d903..babee27f4 100644
--- a/test/file_test.go
+++ b/test/file_test.go
@@ -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)
}