aboutsummaryrefslogtreecommitdiffhomepage
path: root/helpers/url_test.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2023-06-12 16:06:11 +0200
committerBjørn Erik Pedersen <[email protected]>2023-06-12 16:06:11 +0200
commit6a09e7f28e0d779aed504379e8eb486c9da9040a (patch)
treeb01fdd18016c836071d2f1cd0bf9178f304d3111 /helpers/url_test.go
parent29e5cbb699c691f8c4b67080e3f57ca1d2509d8c (diff)
downloadhugo-6a09e7f28e0d779aed504379e8eb486c9da9040a.tar.gz
hugo-6a09e7f28e0d779aed504379e8eb486c9da9040a.zip
Adjust benchmarks
Diffstat (limited to 'helpers/url_test.go')
-rw-r--r--helpers/url_test.go4
1 files 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) {