mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
Fix broken test
This commit is contained in:
parent
5cf0aa2fc0
commit
ea6ae769dc
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue