shithub: hugo

Download patch

ref: ea6ae769dc651c2a29e8fb3600fa8c10859f60dc
parent: 5cf0aa2fc0cebbb51227ba0b23e0906088bf3027
author: Bjørn Erik Pedersen <[email protected]>
date: Tue Jul 21 17:12:03 EDT 2015

Fix broken test

--- a/hugolib/pageSort_test.go
+++ b/hugolib/pageSort_test.go
@@ -15,7 +15,7 @@
 	assert.Equal(t, 9, p[9].FuzzyWordCount)
 	p = p.Reverse()
 	assert.Equal(t, 9, p[0].FuzzyWordCount)
-	assert.Equal(t, 1, p[9].FuzzyWordCount)
+	assert.Equal(t, 0, p[9].FuzzyWordCount)
 }
 
 func BenchmarkSortByWeightAndReverse(b *testing.B) {