Skip to content

Commit

Permalink
fix the test
Browse files Browse the repository at this point in the history
  • Loading branch information
needcaffeine committed Aug 29, 2023
1 parent 8fc0a61 commit 0026a8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tag_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ func BenchmarkTagsOrder(b *testing.B) {

func tagIsLessByIndex(tags []Tag) func(int, int) bool {
return func(i, j int) bool {
return tagIsLess(tags[i], tags[j])
return tagIsLess(tags[i], tags[j]) < 0
}
}

Expand Down

0 comments on commit 0026a8c

Please sign in to comment.