Skip to content

Commit 7d72039

Browse files
authored
Merge pull request pkg#354 from eleijonmarck/patch-1
Update example_test.go
2 parents 54c2491 + b6c57af commit 7d72039

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

example_test.go

+1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ func Example() {
4141
if _, err := f.Write([]byte("Hello world!")); err != nil {
4242
log.Fatal(err)
4343
}
44+
f.Close()
4445

4546
// check it's there
4647
fi, err := client.Lstat("hello.txt")

0 commit comments

Comments
 (0)