summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/integration/lfs_view_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/integration/lfs_view_test.go b/tests/integration/lfs_view_test.go
index b50c075ccf..9dfcb3e698 100644
--- a/tests/integration/lfs_view_test.go
+++ b/tests/integration/lfs_view_test.go
@@ -100,6 +100,6 @@ func TestLFSRender(t *testing.T) {
req = NewRequest(t, "GET", lfsFindPath)
resp = session.MakeRequest(t, req, http.StatusOK)
doc := NewHTMLParser(t, resp.Body).doc
- assert.Contains(t, doc.Text(), "README.md")
+ assert.Equal(t, 1, doc.Find(`.sha.label[href="/user2/lfs/commit/73cf03db6ece34e12bf91e8853dc58f678f2f82d"]`).Length(), "could not find link to commit")
})
}