aboutsummaryrefslogtreecommitdiff
path: root/plugin/bind/bind_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/bind/bind_test.go')
-rw-r--r--plugin/bind/bind_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/bind/bind_test.go b/plugin/bind/bind_test.go
index 9b1dc54aa..9e278418b 100644
--- a/plugin/bind/bind_test.go
+++ b/plugin/bind/bind_test.go
@@ -8,7 +8,7 @@ import (
"github.com/mholt/caddy"
)
-func TestSetupBind(t *testing.T) {
+func TestSetup(t *testing.T) {
for i, test := range []struct {
config string
expected []string
@@ -22,7 +22,7 @@ func TestSetupBind(t *testing.T) {
{`bind ::1 1.2.3.4 ::5 127.9.9.0 noone`, nil, true},
} {
c := caddy.NewTestController("dns", test.config)
- err := setupBind(c)
+ err := setup(c)
if err != nil {
if !test.failing {
t.Fatalf("test %d, expected no errors, but got: %v", i, err)