From 3d22f076b725337fa97eedcf92a1520a72bf0c17 Mon Sep 17 00:00:00 2001 From: Mateusz Poliwczak Date: Tue, 31 Jan 2023 09:55:02 +0100 Subject: [PATCH] update bench name --- src/net/ip_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/net/ip_test.go b/src/net/ip_test.go index 6fbc5508347..68ada4939ae 100644 --- a/src/net/ip_test.go +++ b/src/net/ip_test.go @@ -116,7 +116,7 @@ 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++ { @@ -124,7 +124,7 @@ func BenchmarkParseValidIPv4(b *testing.B) { } } -func BenchmarkParseValidIPv6(b *testing.B) { +func BenchmarkParseIPValidIPv6(b *testing.B) { testHookUninstaller.Do(uninstallTestHooks) for i := 0; i < b.N; i++ {