mirror of
https://github.com/gohugoio/hugo.git
synced 2025-09-08 03:50:56 -04:00
Fix broken test
This commit is contained in:
parent
5cf0aa2fc0
commit
ea6ae769dc
@ -15,7 +15,7 @@ func TestPageSortReverse(t *testing.T) {
|
||||
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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user