@@ -38,7 +38,7 @@ func TestLFSRender(t *testing.T) {
38
38
doc := NewHTMLParser (t , resp .Body ).doc
39
39
40
40
fileInfo := doc .Find ("div.file-info-entry" ).First ().Text ()
41
- assert .Contains (t , fileInfo , "Stored with Git LFS" )
41
+ assert .Contains (t , fileInfo , "LFS" )
42
42
43
43
content := doc .Find ("div.file-view" ).Text ()
44
44
assert .Contains (t , content , "Testing documents in LFS" )
@@ -54,7 +54,7 @@ func TestLFSRender(t *testing.T) {
54
54
doc := NewHTMLParser (t , resp .Body ).doc
55
55
56
56
fileInfo := doc .Find ("div.file-info-entry" ).First ().Text ()
57
- assert .Contains (t , fileInfo , "Stored with Git LFS" )
57
+ assert .Contains (t , fileInfo , "LFS" )
58
58
59
59
src , exists := doc .Find (".file-view img" ).Attr ("src" )
60
60
assert .True (t , exists , "The image should be in an <img> tag" )
@@ -71,7 +71,7 @@ func TestLFSRender(t *testing.T) {
71
71
doc := NewHTMLParser (t , resp .Body ).doc
72
72
73
73
fileInfo := doc .Find ("div.file-info-entry" ).First ().Text ()
74
- assert .Contains (t , fileInfo , "Stored with Git LFS" )
74
+ assert .Contains (t , fileInfo , "LFS" )
75
75
76
76
rawLink , exists := doc .Find ("div.file-view > div.view-raw > a" ).Attr ("href" )
77
77
assert .True (t , exists , "Download link should render instead of content because this is a binary file" )
0 commit comments