Re-enable wastedassign linter (#7788)
Fixes https://github.com/letsencrypt/boulder/issues/6202
This commit is contained in:
parent
3b62e81999
commit
46fc4c25ab
|
|
@ -12,7 +12,7 @@ linters:
|
|||
- unconvert
|
||||
- unparam
|
||||
- unused
|
||||
# TODO(#6202): Re-enable 'wastedassign' linter
|
||||
- wastedassign
|
||||
linters-settings:
|
||||
errcheck:
|
||||
exclude-functions:
|
||||
|
|
|
|||
|
|
@ -396,6 +396,6 @@ func TestGetChunkAtTime(t *testing.T) {
|
|||
// the time twice, since the whole point of "very far in the future" is that
|
||||
// it isn't representable by a time.Duration.
|
||||
atTime = anchorTime().Add(200 * 365 * 24 * time.Hour).Add(200 * 365 * 24 * time.Hour)
|
||||
c, err = GetChunkAtTime(shardWidth, numShards, atTime)
|
||||
_, err = GetChunkAtTime(shardWidth, numShards, atTime)
|
||||
test.AssertError(t, err, "getting far-future chunk")
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue