Skip to content

Commit

Permalink
update bench name
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusz834 committed Jan 31, 2023
1 parent aa7e373 commit 3d22f07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/net/ip_test.go
Expand Up @@ -116,15 +116,15 @@ func BenchmarkParseIP(b *testing.B) {
}
}

func BenchmarkParseValidIPv4(b *testing.B) {
func BenchmarkParseIPValidIPv4(b *testing.B) {
testHookUninstaller.Do(uninstallTestHooks)

for i := 0; i < b.N; i++ {
ParseIP("192.0.2.1")
}
}

func BenchmarkParseValidIPv6(b *testing.B) {
func BenchmarkParseIPValidIPv6(b *testing.B) {
testHookUninstaller.Do(uninstallTestHooks)

for i := 0; i < b.N; i++ {
Expand Down

0 comments on commit 3d22f07

Please sign in to comment.