File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -102,6 +102,8 @@ var _ = Describe("Client", func() {
102
102
close (done )
103
103
}, serverSideTimeoutSeconds )
104
104
105
+ // TODO(seans): Cast "cl" as "client" struct from "Client" interface. Then validate the
106
+ // instance values for the "client" struct.
105
107
Describe ("New" , func () {
106
108
It ("should return a new Client" , func (done Done ) {
107
109
cl , err := client .New (cfg , client.Options {})
@@ -242,7 +244,6 @@ var _ = Describe("Client", func() {
242
244
By ("creating the pod, since required field Containers is empty" )
243
245
err = cl .Create (context .TODO (), pod )
244
246
Expect (err ).To (HaveOccurred ())
245
- Expect (err .Error ()).To (ContainSubstring ("is invalid" ))
246
247
247
248
close (done )
248
249
}, serverSideTimeoutSeconds )
You can’t perform that action at this time.
0 commit comments