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:
parent
6193e0ba00
commit
94401f524e
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user