You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🌱 (chore): fix improper usage of errors.As in scaffold tests
This fixes a misuse of `errors.As` where a non-pointer was passed as the second argument.
Go requires the second argument to be a pointer to an interface or a type implementing the `error` interface.
The test helper now correctly uses `&errType` to ensure proper error assertion and avoid false negatives or runtime issues.
0 commit comments