aboutsummaryrefslogtreecommitdiff
path: root/plugin/kubernetes/setup_test.go
diff options
context:
space:
mode:
authorGravatar Karsten Weiss <knweiss@gmail.com> 2018-08-14 17:55:55 +0200
committerGravatar Yong Tang <yong.tang.github@outlook.com> 2018-08-14 08:55:55 -0700
commit6d8a078704567821513e8ccab29fdc5baee809f7 (patch)
tree98f3d865bfa5b853780129647ca8be7027820acc /plugin/kubernetes/setup_test.go
parent18a77cd04557b810eba96a7239d39ee2d7a92157 (diff)
downloadcoredns-6d8a078704567821513e8ccab29fdc5baee809f7.tar.gz
coredns-6d8a078704567821513e8ccab29fdc5baee809f7.tar.zst
coredns-6d8a078704567821513e8ccab29fdc5baee809f7.zip
Typo fixes (#2031)
Diffstat (limited to 'plugin/kubernetes/setup_test.go')
-rw-r--r--plugin/kubernetes/setup_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugin/kubernetes/setup_test.go b/plugin/kubernetes/setup_test.go
index 94562ce64..68e490d76 100644
--- a/plugin/kubernetes/setup_test.go
+++ b/plugin/kubernetes/setup_test.go
@@ -15,7 +15,7 @@ import (
func TestKubernetesParse(t *testing.T) {
tests := []struct {
input string // Corefile data as string
- shouldErr bool // true if test case is exected to produce an error.
+ shouldErr bool // true if test case is expected to produce an error.
expectedErrContent string // substring from the expected error. Empty for positive cases.
expectedZoneCount int // expected count of defined zones.
expectedNSCount int // expected count of namespaces.
@@ -494,7 +494,7 @@ kubernetes cluster.local`,
func TestKubernetesParseEndpointPodNames(t *testing.T) {
tests := []struct {
input string // Corefile data as string
- shouldErr bool // true if test case is exected to produce an error.
+ shouldErr bool // true if test case is expected to produce an error.
expectedErrContent string // substring from the expected error. Empty for positive cases.
expectedEndpointMode bool
}{
@@ -557,7 +557,7 @@ func TestKubernetesParseEndpointPodNames(t *testing.T) {
func TestKubernetesParseNoEndpoints(t *testing.T) {
tests := []struct {
input string // Corefile data as string
- shouldErr bool // true if test case is exected to produce an error.
+ shouldErr bool // true if test case is expected to produce an error.
expectedErrContent string // substring from the expected error. Empty for positive cases.
expectedEndpointsInit bool
}{
@@ -619,7 +619,7 @@ func TestKubernetesParseNoEndpoints(t *testing.T) {
func TestKubernetesParseIgnoreEmptyService(t *testing.T) {
tests := []struct {
input string // Corefile data as string
- shouldErr bool // true if test case is exected to produce an error.
+ shouldErr bool // true if test case is expected to produce an error.
expectedErrContent string // substring from the expected error. Empty for positive cases.
expectedEndpointsInit bool
}{