Skip to content

Commit a0d72bc

Browse files
committed
Rename benchmark method to be more accurate
1 parent ede8d26 commit a0d72bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reader_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,7 @@ func checkIpv6(t *testing.T, reader *Reader) {
634634
}
635635
}
636636

637-
func BenchmarkMaxMindDB(b *testing.B) {
637+
func BenchmarkLookup(b *testing.B) {
638638
db, err := Open("GeoLite2-City.mmdb")
639639
require.NoError(b, err)
640640

0 commit comments

Comments
 (0)