Skip to content

Commit

Permalink
fix ut
Browse files Browse the repository at this point in the history
  • Loading branch information
humingcheng committed Jan 18, 2025
1 parent 11f64c6 commit 56cfb19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/interceptor/interceptors_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func mockFunc(w http.ResponseWriter, r *http.Request) error {
case 1:
return errors.New("error")
case 0:
panic(errors.New("panic"))
return errors.New("panic")
default:
i++
}
Expand Down

0 comments on commit 56cfb19

Please sign in to comment.