Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
arvindbr8 committed Jan 31, 2024
1 parent cfc26a5 commit 81957e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion status/status_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ func (s) TestStatus_ErrorDetails_Fail(t *testing.T) {
for i, d := range details {
// s.Deatils can either contain an error or a proto message. We
// want to do a compare the proto message for an Equal match, and
// for errors only check for presense.
// for errors only check for presence.
if _, ok := d.(error); ok {
if (d != nil) != (tc.want[i] != nil) {
t.Fatalf("s.Details()[%v] was %v; want %v", i, d, tc.want[i])
Expand Down

0 comments on commit 81957e0

Please sign in to comment.