mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-22 15:59:35 +00:00
hugolib: Fix FuzzyWordCount test error message
This commit is contained in:
parent
6818170308
commit
06d28a464d
1 changed files with 1 additions and 1 deletions
|
@ -1104,7 +1104,7 @@ func TestWordCount(t *testing.T) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if p.FuzzyWordCount() != 500 {
|
if p.FuzzyWordCount() != 500 {
|
||||||
t.Fatalf("[%s] incorrect word count. expected %v, got %v", ext, 500, p.WordCount())
|
t.Fatalf("[%s] incorrect word count. expected %v, got %v", ext, 500, p.FuzzyWordCount())
|
||||||
}
|
}
|
||||||
|
|
||||||
if p.ReadingTime() != 3 {
|
if p.ReadingTime() != 3 {
|
||||||
|
|
Loading…
Add table
Reference in a new issue