We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e509ea commit 546380fCopy full SHA for 546380f
internal/xerrors/join_test.go
@@ -58,7 +58,7 @@ func TestUnwrapJoined(t *testing.T) {
58
err1 := context.Canceled
59
err2 := context.DeadlineExceeded
60
61
- var joined error = Join(err1, err2)
+ joined := Join(err1, err2)
62
63
unwrappable := joined.(interface{ Unwrap() []error }) //nolint:errorlint
64
inners := unwrappable.Unwrap()
0 commit comments