Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cbd5cb4

Browse files
committed
nolint unreachable
1 parent 2c002bd commit cbd5cb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coderd/authzquery/methods_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ func splitResp(t *testing.T, values []reflect.Value) ([]reflect.Value, error) {
204204
return outputs, err
205205
}
206206
outputs = append(outputs, r)
207-
}
207+
} //nolint: unreachable
208208
t.Fatal("no expected error value found in responses (error can be nil)")
209209
return nil, nil // unreachable, required to compile
210210
}

0 commit comments

Comments
 (0)