Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for doCheckPet (0.08 sec)

  1. tests/helper_test.go

    		user.NamedPet = &Pet{Name: name + "_namepet"}
    	}
    
    	return &user
    }
    
    func CheckPetUnscoped(t *testing.T, pet Pet, expect Pet) {
    	doCheckPet(t, pet, expect, true)
    }
    
    func CheckPet(t *testing.T, pet Pet, expect Pet) {
    	doCheckPet(t, pet, expect, false)
    }
    
    func doCheckPet(t *testing.T, pet Pet, expect Pet, unscoped bool) {
    	if pet.ID != 0 {
    		var newPet Pet
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Tue Mar 19 03:50:28 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top