Explorar el Código

If rename works we are happy (fixes #1767)

Lode Hoste hace 10 años
padre
commit
f6416285db
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      internal/osutil/osutil_test.go

+ 2 - 1
internal/osutil/osutil_test.go

@@ -144,7 +144,8 @@ func TestInWritableDirWindowsRename(t *testing.T) {
 	for _, path := range []string{"testdata/windows/ro/readonly", "testdata/windows/ro", "testdata/windows"} {
 		err := os.Rename(path, path+"new")
 		if err == nil {
-			t.Errorf("Expected error %s", path)
+			t.Skipf("seem like this test doesn't work here")
+			return
 		}
 	}