forked from mirror/afero
Fix broken Windows tests
@spf13 having a CI on Windows is only useful if you actually look at the build output.
This commit is contained in:
parent
28789ef4b7
commit
3c51231761
|
@ -253,6 +253,7 @@ func TestNestedDirOverlayOsFsReaddir(t *testing.T) {
|
|||
// Opening nested dir only in the overlay
|
||||
fh, _ = ufs.Open("/home/test/foo")
|
||||
list, err := fh.Readdir(-1)
|
||||
fh.Close()
|
||||
if err != nil {
|
||||
t.Errorf("Readdir failed", err)
|
||||
}
|
||||
|
@ -288,6 +289,7 @@ func TestCopyOnWriteFsWithOsFs(t *testing.T) {
|
|||
|
||||
fh, _ = ufs.Open("/home/test")
|
||||
files, err := fh.Readdirnames(-1)
|
||||
fh.Close()
|
||||
if err != nil {
|
||||
t.Errorf("Readdirnames failed")
|
||||
}
|
||||
|
@ -297,6 +299,7 @@ func TestCopyOnWriteFsWithOsFs(t *testing.T) {
|
|||
|
||||
fh, _ = overlay.Open("/home/test")
|
||||
files, err = fh.Readdirnames(-1)
|
||||
fh.Close()
|
||||
if err != nil {
|
||||
t.Errorf("Readdirnames failed")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue