diff options
Diffstat (limited to 'plugin/kubernetes/watch_test.go')
-rw-r--r-- | plugin/kubernetes/watch_test.go | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/plugin/kubernetes/watch_test.go b/plugin/kubernetes/watch_test.go new file mode 100644 index 000000000..46b2e5dc4 --- /dev/null +++ b/plugin/kubernetes/watch_test.go @@ -0,0 +1,15 @@ +package kubernetes + +import ( + "testing" + + "github.com/coredns/coredns/plugin/pkg/watch" +) + +func TestIsWatchable(t *testing.T) { + k := &Kubernetes{} + var i interface{} = k + if _, ok := i.(watch.Watchable); !ok { + t.Error("Kubernetes should implement watch.Watchable and does not") + } +} |