hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit 06d28a464d086880f52dd850f91e668ab957b31f
parent 6818170308994b5f01dec7a559f92d6c7c5ca100
Author: Gregorio Martinez <GregorioMartinez@users.noreply.github.com>
Date:   Wed,  3 Oct 2018 03:01:30 -0400

hugolib: Fix FuzzyWordCount test error message


Diffstat:
Mhugolib/page_test.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hugolib/page_test.go b/hugolib/page_test.go
@@ -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 {