Remove excess 'in'

Fix some typo

Fix some typo
This commit is contained in:
xichengliudui 2018-10-11 00:52:39 -04:00
parent 5442f9d482
commit ef496320cf
2 changed files with 2 additions and 2 deletions

View File

@ -524,7 +524,7 @@ func TestSimpleDaemonSetScheduleDaemonSetPodsLaunchesPods(t *testing.T) {
}
if len(nodeSelector.NodeSelectorTerms[0].MatchFields) != 1 {
t.Fatalf("incorrect number of fields in in node selector term for pod %s, expected: 1, got: %d.",
t.Fatalf("incorrect number of fields in node selector term for pod %s, expected: 1, got: %d.",
pod.Name, len(nodeSelector.NodeSelectorTerms[0].MatchFields))
}

View File

@ -1166,7 +1166,7 @@ func (t *Tester) testDeleteGracefulShorten(obj runtime.Object, createFn CreateFu
// testGetDifferentNamespace ensures same-name objects in different namespaces do not clash
func (t *Tester) testGetDifferentNamespace(obj runtime.Object) {
if t.clusterScope {
t.Fatalf("the test does not work in in cluster-scope")
t.Fatalf("the test does not work in cluster-scope")
}
objMeta := t.getObjectMetaOrFail(obj)