hugolib: Fix FuzzyWordCount test error message
authorGregorio Martinez <GregorioMartinez@users.noreply.github.com>
Wed, 3 Oct 2018 07:01:30 +0000 (03:01 -0400)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Wed, 3 Oct 2018 07:01:30 +0000 (10:01 +0300)
hugolib/page_test.go

index 0e73376e0b2f4489dda621225c6e46373813c9d0..8dedf9cab1ec8c6702b3058bbf02d7a0244280f2 100644 (file)
@@ -1104,7 +1104,7 @@ func TestWordCount(t *testing.T) {
                }
 
                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 {