Skip to content

Commit

Permalink
Check that the right GVK gets populated
Browse files Browse the repository at this point in the history
  • Loading branch information
liyinan926 authored and JoelSpeed committed Apr 3, 2019
1 parent 5fb4401 commit 0de9031
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cache/cache_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ func CacheTest(createCacheFunc func(config *rest.Config, opts cache.Options) (ca
Expect(listObj.Items).NotTo(BeEmpty())
Expect(listObj.Items).Should(HaveLen(3))
for _, p := range listObj.Items {
Expect(p.GroupVersionKind().Empty()).To(BeFalse())
Expect(p.GroupVersionKind()).To(Equal(kcorev1.SchemeGroupVersion.WithKind("Pod")))
}
})

Expand Down

0 comments on commit 0de9031

Please sign in to comment.