Pull request: all: rm var shadowing, vol. 2
Updates #2803. Squashed commit of the following: commit bf7186378164f19ea9e21ec832526792efa2f9c3 Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Thu Mar 11 19:48:17 2021 +0300 all: rm var shadowing, vol. 2
This commit is contained in:
@@ -225,7 +225,8 @@ func TestQLogFile_SeekTS_bad(t *testing.T) {
|
||||
t.Run(tc.name, func(t *testing.T) {
|
||||
assert.NotEqualValues(t, 0, tc.ts)
|
||||
|
||||
_, depth, err := q.SeekTS(tc.ts)
|
||||
var depth int
|
||||
_, depth, err = q.SeekTS(tc.ts)
|
||||
assert.NotEmpty(t, l.num)
|
||||
require.NotNil(t, err)
|
||||
if tc.leq {
|
||||
|
||||
Reference in New Issue
Block a user