File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -356,14 +356,14 @@ var _ = Describe("Test", func() {
356
356
})
357
357
358
358
Describe ("Start" , func () {
359
- It ("should raise an error" , func (done Done ) {
359
+ It ("should raise an error on invalid dir when flag is enabled " , func (done Done ) {
360
360
env = & Environment {ErrorIfCRDPathMissing : true , CRDDirectoryPaths : []string {invalidDirectory }}
361
361
_ , err := env .Start ()
362
362
Expect (err ).To (HaveOccurred ())
363
363
close (done )
364
364
}, 30 )
365
365
366
- It ("should not raise an error" , func (done Done ) {
366
+ It ("should not raise an error on invalid dir when flag is disabled " , func (done Done ) {
367
367
env = & Environment {ErrorIfCRDPathMissing : false , CRDDirectoryPaths : []string {invalidDirectory }}
368
368
_ , err := env .Start ()
369
369
Expect (err ).NotTo (HaveOccurred ())
You can’t perform that action at this time.
0 commit comments