Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Team (0.16 sec)

  1. tests/helper_test.go

    		}
    	})
    
    	t.Run("Team", func(t *testing.T) {
    		if len(user.Team) != len(expect.Team) {
    			t.Fatalf("Team should equal, expect: %v, got %v", len(expect.Team), len(user.Team))
    		}
    
    		sort.Slice(user.Team, func(i, j int) bool {
    			return user.Team[i].ID > user.Team[j].ID
    		})
    
    		sort.Slice(expect.Team, func(i, j int) bool {
    			return expect.Team[i].ID > expect.Team[j].ID
    		})
    
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Tue Mar 19 03:50:28 GMT 2024
    - 8K bytes
    - Viewed (0)
Back to top