From 6a09e7f28e0d779aed504379e8eb486c9da9040a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Mon, 12 Jun 2023 16:06:11 +0200 Subject: [PATCH] Adjust benchmarks --- helpers/url_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helpers/url_test.go b/helpers/url_test.go index a31cb6c06..b51625a30 100644 --- a/helpers/url_test.go +++ b/helpers/url_test.go @@ -269,7 +269,7 @@ func TestSanitizeURL(t *testing.T) { func BenchmarkRelURL(b *testing.B) { v := config.New() - v.Set("baseURL", "http://base/") + v.Set("baseURL", "https://base/") p := newTestPathSpecFromCfgAndLang(v, "") b.ResetTimer() for i := 0; i < b.N; i++ { @@ -279,7 +279,7 @@ func BenchmarkRelURL(b *testing.B) { func BenchmarkAbsURL(b *testing.B) { v := config.New() - v.Set("baseURL", "http://base/") + v.Set("baseURL", "https://base/") p := newTestPathSpecFromCfgAndLang(v, "") b.ResetTimer() b.Run("relurl", func(b *testing.B) {