Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f2f0399

Browse files
committed
fix renamed Read() func in test
1 parent fbfb50d commit f2f0399

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

file/file_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ func TestFiles(t *testing.T) {
133133
}
134134

135135
// test read
136-
if err := files[4].DownFile.Read(); err != nil {
136+
if err := files[4].DownFile.ReadContent(); err != nil {
137137
t.Error("Unable to read file", err)
138138
}
139139
if files[4].DownFile.Content == nil {

0 commit comments

Comments
 (0)