Skip to content

Commit

Permalink
Update links for v5
Browse files Browse the repository at this point in the history
  • Loading branch information
twpayne committed Feb 22, 2024
1 parent 9586ce0 commit 56d8131
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# go-vfs

[![PkgGoDev](https://pkg.go.dev/badge/github.com/twpayne/go-vfs)](https://pkg.go.dev/github.com/twpayne/go-vfs)
[![Report Card](https://goreportcard.com/badge/github.com/twpayne/go-vfs)](https://goreportcard.com/report/github.com/twpayne/go-vfs)
[![PkgGoDev](https://pkg.go.dev/badge/github.com/twpayne/go-vfs/v5)](https://pkg.go.dev/github.com/twpayne/go-vfs/v5)

Package `vfs` provides an abstraction of the `os` and `io` packages that is easy
to test.
Expand All @@ -15,7 +14,7 @@ to test.
the desired state of the filesystem after your code has run, and `vfst` tests
that the filesystem matches that state. For a quick tour of `vfst`'s features,
see [the examples in the
documentation](https://godoc.org/github.com/twpayne/go-vfs/vfst#pkg-examples).
documentation](https://godoc.org/github.com/twpayne/go-vfs/v5/vfst#pkg-examples).

* Compatibility with
[`github.com/spf13/afero`](https://github.com/spf13/afero) and
Expand Down Expand Up @@ -105,7 +104,7 @@ func TestWriteConfigFile(t *testing.T) {
// Check properties of the filesystem after our function has modified it.
vfst.RunTests(t, fileSystem, "app_conf",
vfst.TestPath("/home/user/app.conf",
vfst.TestModeIsRegular,
vfst.TestModeIsRegular(),
vfst.TestModePerm(0644),
vfst.TestContentsString("app config"),
),
Expand Down

0 comments on commit 56d8131

Please sign in to comment.