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 @@ -171,7 +171,7 @@ var _ = Describe("Scaffold", func() {
171
171
func (errType interface {}, files ... Builder ) {
172
172
err := s .Execute (files ... )
173
173
Expect (err ).To (HaveOccurred ())
174
- Expect (errors .As (err , errType )).To (BeTrue ())
174
+ Expect (errors .As (err , & errType )).To (BeTrue ())
175
175
},
176
176
Entry ("should fail if unable to validate a file builder" ,
177
177
& ValidateError {},
@@ -413,7 +413,7 @@ func init() {
413
413
414
414
err := s .Execute (files ... )
415
415
Expect (err ).To (HaveOccurred ())
416
- Expect (errors .As (err , errType )).To (BeTrue ())
416
+ Expect (errors .As (err , & errType )).To (BeTrue ())
417
417
},
418
418
Entry ("should fail if inserting into a model that fails when a file exists and it does exist" ,
419
419
& FileAlreadyExistsError {},
You can’t perform that action at this time.
0 commit comments