Skip to content

Commit 37380ff

Browse files
committed
Fix test
1 parent a2924cc commit 37380ff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/integration/lfs_view_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ func TestLFSRender(t *testing.T) {
3838
doc := NewHTMLParser(t, resp.Body).doc
3939

4040
fileInfo := doc.Find("div.file-info-entry").First().Text()
41-
assert.Contains(t, fileInfo, "Stored with Git LFS")
41+
assert.Contains(t, fileInfo, "LFS")
4242

4343
content := doc.Find("div.file-view").Text()
4444
assert.Contains(t, content, "Testing documents in LFS")
@@ -54,7 +54,7 @@ func TestLFSRender(t *testing.T) {
5454
doc := NewHTMLParser(t, resp.Body).doc
5555

5656
fileInfo := doc.Find("div.file-info-entry").First().Text()
57-
assert.Contains(t, fileInfo, "Stored with Git LFS")
57+
assert.Contains(t, fileInfo, "LFS")
5858

5959
src, exists := doc.Find(".file-view img").Attr("src")
6060
assert.True(t, exists, "The image should be in an <img> tag")
@@ -71,7 +71,7 @@ func TestLFSRender(t *testing.T) {
7171
doc := NewHTMLParser(t, resp.Body).doc
7272

7373
fileInfo := doc.Find("div.file-info-entry").First().Text()
74-
assert.Contains(t, fileInfo, "Stored with Git LFS")
74+
assert.Contains(t, fileInfo, "LFS")
7575

7676
rawLink, exists := doc.Find("div.file-view > div.view-raw > a").Attr("href")
7777
assert.True(t, exists, "Download link should render instead of content because this is a binary file")

0 commit comments

Comments
 (0)