summaryrefslogtreecommitdiffstats
path: root/hugolib/site_stats_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'hugolib/site_stats_test.go')
-rw-r--r--hugolib/site_stats_test.go6
1 files changed, 1 insertions, 5 deletions
diff --git a/hugolib/site_stats_test.go b/hugolib/site_stats_test.go
index 02f2c0a8c..c045963f3 100644
--- a/hugolib/site_stats_test.go
+++ b/hugolib/site_stats_test.go
@@ -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) {