diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2022-07-13 23:59:04 -0600 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2022-07-14 00:50:21 -0600 |
commit | b8c5940165399f9dc404c912aa455822347bb367 (patch) | |
tree | 1a4504f16c321ea2b460d9fe0b0b900c9db1a822 /lib/diskio/kmp_test.go | |
parent | e784de8a66c3645fdd3a54939b5b844f3bacd82d (diff) |
diskio.FindAll: Have the return type be a type parameter
Diffstat (limited to 'lib/diskio/kmp_test.go')
-rw-r--r-- | lib/diskio/kmp_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/diskio/kmp_test.go b/lib/diskio/kmp_test.go index 6c6ef78..836605a 100644 --- a/lib/diskio/kmp_test.go +++ b/lib/diskio/kmp_test.go @@ -55,7 +55,7 @@ func FuzzFindAll(f *testing.F) { t.Logf("str =%q", str) t.Logf("substr=%q", substr) exp := NaiveFindAll(str, substr) - act, err := FindAll(bytes.NewReader(str), substr) + act, err := FindAll[int64](bytes.NewReader(str), substr) assert.NoError(t, err) assert.Equal(t, exp, act) }) |