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() {
171171 func (errType interface {}, files ... Builder ) {
172172 err := s .Execute (files ... )
173173 Expect (err ).To (HaveOccurred ())
174- Expect (errors .As (err , errType )).To (BeTrue ())
174+ Expect (errors .As (err , & errType )).To (BeTrue ())
175175 },
176176 Entry ("should fail if unable to validate a file builder" ,
177177 & ValidateError {},
@@ -413,7 +413,7 @@ func init() {
413413
414414 err := s .Execute (files ... )
415415 Expect (err ).To (HaveOccurred ())
416- Expect (errors .As (err , errType )).To (BeTrue ())
416+ Expect (errors .As (err , & errType )).To (BeTrue ())
417417 },
418418 Entry ("should fail if inserting into a model that fails when a file exists and it does exist" ,
419419 & FileAlreadyExistsError {},
You can’t perform that action at this time.
0 commit comments