Skip to content

Commit

Permalink
[-] remove redundant return statements (gosimple S1023)
Browse files Browse the repository at this point in the history
  • Loading branch information
pashagolub committed Sep 6, 2023
1 parent 11f2121 commit ae69eeb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion expectations.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ func (e *commonExpectation) error() error {

func (e *commonExpectation) fulfill() {
e.triggered = true
return
}

func (e *commonExpectation) fulfilled() bool {
Expand Down
1 change: 0 additions & 1 deletion pgxmock.go
Original file line number Diff line number Diff line change
Expand Up @@ -748,5 +748,4 @@ func (c *pgxmock) Reset() {
return
}
_ = ex.waitForDelay(context.Background())
return
}

0 comments on commit ae69eeb

Please sign in to comment.