mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
Enable testifylint rules (#34075)
enable testifylint rules disabled in: https://github.com/go-gitea/gitea/pull/34054
This commit is contained in:
@@ -23,7 +23,7 @@ func testRepoCommitsSearch(t *testing.T, query, commit string) {
|
||||
|
||||
doc := NewHTMLParser(t, resp.Body)
|
||||
sel := doc.doc.Find("#commits-table tbody tr td.sha a")
|
||||
assert.EqualValues(t, commit, strings.TrimSpace(sel.Text()))
|
||||
assert.Equal(t, commit, strings.TrimSpace(sel.Text()))
|
||||
}
|
||||
|
||||
func TestRepoCommitsSearch(t *testing.T) {
|
||||
|
Reference in New Issue
Block a user