mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-23 21:53:09 +02:00
deps: Upgrade github.com/olekukonko/tablewriter v0.0.5 => v1.0.7
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user