mirror of
https://github.com/gin-gonic/gin.git
synced 2026-06-04 01:38:12 +08:00
Fix lint error: remove useless assertion in concurrent test
This commit is contained in:
parent
eef8b2d73b
commit
5d8189d060
@ -1086,8 +1086,7 @@ func TestConcurrentAddRouteAndRoutes(t *testing.T) {
|
||||
|
||||
for i := 0; i < 10; i++ {
|
||||
go func() {
|
||||
routes := router.Routes()
|
||||
assert.GreaterOrEqual(t, len(routes), 0)
|
||||
_ = router.Routes()
|
||||
done <- true
|
||||
}()
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user