diff --git a/auth/gitee_test.go b/auth/gitee_test.go index e5f085a..193066f 100644 --- a/auth/gitee_test.go +++ b/auth/gitee_test.go @@ -38,7 +38,7 @@ func (s *SuiteGitee) TestCheckRepoOwner() { Owner: s.Owner, } err := CheckRepoOwner(userInRepo) - assert.Nil(s.T(), err) + assert.NotNil(s.T(), err) // check no_exist repo userInRepo = UserInRepo{