From f0de20e747caff32f9893011bf4cf4a20db3ee6d Mon Sep 17 00:00:00 2001 From: FermeLeLundi Date: Thu, 28 Nov 2024 10:15:54 +0000 Subject: [PATCH] Update models/git/commit_status_test.go Typos --- models/git/commit_status_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models/git/commit_status_test.go b/models/git/commit_status_test.go index 0f799f3507..b16fc727e0 100644 --- a/models/git/commit_status_test.go +++ b/models/git/commit_status_test.go @@ -400,14 +400,14 @@ func TestGetLatestCommitStatusForPairs(t *testing.T) { }, pairs) }) - t.Run("Repo 62 nonexistant sha", func(t *testing.T) { + t.Run("Repo 62 non-existent sha", func(t *testing.T) { pairs, err := git_model.GetLatestCommitStatusForPairs(db.DefaultContext, []git_model.RepoSHA{{62, "774f93df12d14931ea93259ae93418da4482fcc"}}) require.NoError(t, err) assert.EqualValues(t, map[int64][]*git_model.CommitStatus{}, pairs) }) - t.Run("SHA with non existant repo id", func(t *testing.T) { + t.Run("SHA with non-existent repo id", func(t *testing.T) { pairs, err := git_model.GetLatestCommitStatusForPairs(db.DefaultContext, []git_model.RepoSHA{{1, "774f93df12d14931ea93259ae93418da4482fcc1"}}) require.NoError(t, err)