diff options
author | Lauris BH <lauris@nix.lv> | 2019-05-06 21:43:40 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-06 21:43:40 +0300 |
commit | d9d538c8a170d52128bc18bde23c5f263e31f3df (patch) | |
tree | ed9fff43eb74aca728fa85dea037b8a43603c61f /integrations | |
parent | 01ebd52a1fa2a5a71ff6609f04c3338e7e4795d4 (diff) | |
download | gitea-d9d538c8a170d52128bc18bde23c5f263e31f3df.tar.gz gitea-d9d538c8a170d52128bc18bde23c5f263e31f3df.zip |
Refactor table width to have more info shown in file list (#6867)
* Refactor table width to have more info shown in file list
* Remove unnecesary semicolon
* Fix tests for changed html structure
Diffstat (limited to 'integrations')
-rw-r--r-- | integrations/repo_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/integrations/repo_test.go b/integrations/repo_test.go index 71ad0d9105..37f163a9fb 100644 --- a/integrations/repo_test.go +++ b/integrations/repo_test.go @@ -86,7 +86,7 @@ func TestViewRepoWithSymlinks(t *testing.T) { resp := session.MakeRequest(t, req, http.StatusOK) htmlDoc := NewHTMLParser(t, resp.Body) - files := htmlDoc.doc.Find("#repo-files-table > TBODY > TR > TD.name") + files := htmlDoc.doc.Find("#repo-files-table > TBODY > TR > TD.name > SPAN") items := files.Map(func(i int, s *goquery.Selection) string { cls, _ := s.Find("SPAN").Attr("class") file := strings.Trim(s.Find("A").Text(), " \t\n") |