Skip to content

Commit

Permalink
test: remove unused test
Browse files Browse the repository at this point in the history
  • Loading branch information
sdutwsl committed Aug 23, 2024
1 parent 0bab012 commit ab1dad7
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions logic/rank_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package logic

import (
"rankland/model/rank"
"sort"
"testing"

"github.com/agiledragon/gomonkey/v2"
Expand All @@ -24,11 +23,11 @@ func TestRanks_Search(t *testing.T) {
}
}

func TestXxx(t *testing.T) {
sss := []int64{3, 2, 7, 9}
// func TestXxx(t *testing.T) {
// sss := []int64{3, 2, 7, 9}

sort.Slice(sss, func(i, j int) bool {
return sss[i] < sss[j]
})
t.Errorf("%+v", sss)
}
// sort.Slice(sss, func(i, j int) bool {
// return sss[i] < sss[j]
// })
// t.Errorf("%+v", sss)
// }

0 comments on commit ab1dad7

Please sign in to comment.