deps: Upgrade github.com/olekukonko/tablewriter v0.0.5 => v1.0.7

This commit is contained in:
Bjørn Erik Pedersen
2025-05-28 12:15:17 +02:00
parent 463e440c7a
commit 13e1617557
4 changed files with 36 additions and 29 deletions

View File

@@ -16,7 +16,6 @@ package hugolib
import (
"bytes"
"fmt"
"io"
"testing"
"github.com/gohugoio/hugo/helpers"
@@ -89,14 +88,11 @@ aliases: [/Ali%d]
h.Sites[1].PathSpec.ProcessingStats,
}
stats[0].Table(io.Discard)
stats[1].Table(io.Discard)
var buff bytes.Buffer
helpers.ProcessingStatsTable(&buff, stats...)
c.Assert(buff.String(), qt.Contains, "Pages | 21 | 7")
c.Assert(buff.String(), qt.Contains, "Pages 21 7")
}
func TestSiteLastmod(t *testing.T) {