Skip to content

Commit eec99b0

Browse files
committed
Don't use underscores in go names.
1 parent 13a7c81 commit eec99b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/0713_subarray_product_less_than_k/spltk_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ func TestNumSubArrayProductLessThanK(t *testing.T) {
1616
numSubArrayProductLessThanK,
1717
numSubArrayProductLessThanK2,
1818
}
19-
for _, func_ := range functions {
19+
for _, testFunc := range functions {
2020
for index, data := range testCases {
21-
if res := func_(data, ks[index]); res != expected[index] {
21+
if res := testFunc(data, ks[index]); res != expected[index] {
2222
t.Errorf("expected %d, got %d", expected[index], res)
2323
}
2424
}

0 commit comments

Comments
 (0)