1
0
mirror of https://github.com/golang/go synced 2024-11-22 05:24:39 -07:00

path/filepath: disable test on windows to fix build

R=golang-dev, rsc1
CC=golang-dev
https://golang.org/cl/4235054
This commit is contained in:
Alex Brainman 2011-03-07 12:23:57 +11:00
parent 6193e0ba00
commit 94401f524e

View File

@ -8,6 +8,7 @@ import (
"os" "os"
"path/filepath" "path/filepath"
"reflect" "reflect"
"runtime"
"testing" "testing"
) )
@ -279,6 +280,10 @@ func (v *TestVisitor) VisitFile(path string, f *os.FileInfo) {
} }
func TestWalk(t *testing.T) { func TestWalk(t *testing.T) {
// TODO(brainman): enable test once Windows version is implemented.
if runtime.GOOS == "windows" {
return
}
makeTree(t) makeTree(t)
// 1) ignore error handling, expect none // 1) ignore error handling, expect none