Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
slhmy committed Oct 22, 2023
1 parent a3adbc0 commit 9e828ab
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions test/mapper/judger_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,8 @@ import (

func TestJudgerMapper(t *testing.T) {
db := gormAgent.GetDefaultDB()
judgerList, err := mapper.GetJudgerList(db)
_, err := mapper.GetJudgerList(db)
if err != nil {
t.Error(err)
}

if len(judgerList) != 1 {
t.Error("judger list should be 1")
}
}

0 comments on commit 9e828ab

Please sign in to comment.