Chore: Enable scopelint Go linter (#25896)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
This commit is contained in:
@@ -26,6 +26,7 @@ func TestParseInterval(t *testing.T) {
|
||||
}
|
||||
|
||||
for i, tc := range tcs {
|
||||
tc := tc
|
||||
t.Run(fmt.Sprintf("testcase %d", i), func(t *testing.T) {
|
||||
res, err := ParseInterval(tc.interval)
|
||||
if tc.err == "" {
|
||||
|
||||
Reference in New Issue
Block a user