plugin/cache: add extra test for FORMERR (#1930)

* plugin/cache: add extra test for FORMERR

Add extra test that test for not caching a formerr.

Signed-off-by: Miek Gieben <miek@miek.nl>

* govet

Signed-off-by: Miek Gieben <miek@miek.nl>
This commit is contained in:
Miek Gieben 2018-07-03 12:00:22 +01:00 committed by Yong Tang
parent c2780f42c4
commit 2aa1bda005
2 changed files with 39 additions and 1 deletions

View file

@ -6,8 +6,8 @@ import (
"github.com/coredns/coredns/plugin"
"github.com/coredns/coredns/plugin/pkg/dnstest"
"github.com/coredns/coredns/plugin/test"
"github.com/miekg/dns"
)