From b4af2e344c12cc6ebf3601bf1d9f0408ec6193e8 Mon Sep 17 00:00:00 2001 From: Zherphy <1123678689@qq.com> Date: Fri, 29 Nov 2024 14:34:21 +0800 Subject: [PATCH] edit: edit github_test.go edit github_test.go --- auth/gitee_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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{