aboutsummaryrefslogtreecommitdiff
path: root/plugin/rewrite/rewrite_test.go
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2018-04-22 08:34:35 +0100
committerGravatar GitHub <noreply@github.com> 2018-04-22 08:34:35 +0100
commit0930eb8beb69684dfb1e1e066e2a7a6ed3827bf4 (patch)
tree80ead193f34227b1fc8f010f83a727edd89bf9f3 /plugin/rewrite/rewrite_test.go
parent69a956f052a603eca3d400abf8a44a9b44f83184 (diff)
downloadcoredns-0930eb8beb69684dfb1e1e066e2a7a6ed3827bf4.tar.gz
coredns-0930eb8beb69684dfb1e1e066e2a7a6ed3827bf4.tar.zst
coredns-0930eb8beb69684dfb1e1e066e2a7a6ed3827bf4.zip
all: fix plugin import ordering (#1717)
Got a bit messed up with stb lib "context" usage.
Diffstat (limited to 'plugin/rewrite/rewrite_test.go')
-rw-r--r--plugin/rewrite/rewrite_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugin/rewrite/rewrite_test.go b/plugin/rewrite/rewrite_test.go
index 1c87dba05..56c446f49 100644
--- a/plugin/rewrite/rewrite_test.go
+++ b/plugin/rewrite/rewrite_test.go
@@ -2,6 +2,7 @@ package rewrite
import (
"bytes"
+ "context"
"reflect"
"testing"
@@ -9,8 +10,6 @@ import (
"github.com/coredns/coredns/plugin/pkg/dnstest"
"github.com/coredns/coredns/plugin/test"
- "context"
-
"github.com/miekg/dns"
)