Fix broken test

This commit is contained in:
Bjørn Erik Pedersen 2015-07-21 21:12:03 +02:00
parent 5cf0aa2fc0
commit ea6ae769dc

View file

@ -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) {