Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Lines changed: 2 additions & 2 deletions
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)

AltStyle によって変換されたページ (->オリジナル) /