aboutsummaryrefslogtreecommitdiff
path: root/test/external_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/external_test.go')
-rw-r--r--test/external_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/external_test.go b/test/external_test.go
index 9109f1f29..6b014552c 100644
--- a/test/external_test.go
+++ b/test/external_test.go
@@ -8,7 +8,7 @@ import (
"testing"
)
-// Go get external example middleware, compile it into CoreDNS
+// Go get external example plugin, compile it into CoreDNS
// and check if it is really there, but running coredns -plugins.
// Dangerous test as it messes with your git tree, maybe use tag?
@@ -36,7 +36,7 @@ func testExternalMiddlewareCompile(t *testing.T) {
}
if !strings.Contains(string(out), "dns.example") {
- t.Fatal("dns.example middleware should be there")
+ t.Fatal("dns.example plugin should be there")
}
}
@@ -51,7 +51,7 @@ func run(t *testing.T, c *exec.Cmd) ([]byte, error) {
}
func addExampleMiddleware() error {
- f, err := os.OpenFile("../middleware.cfg", os.O_APPEND|os.O_WRONLY, os.ModeAppend)
+ f, err := os.OpenFile("../plugin.cfg", os.O_APPEND|os.O_WRONLY, os.ModeAppend)
if err != nil {
return err
}