refactor/rename: skip Diff test on Windows (build fix attempt)

TBR=adonovan

Change-Id: I37dd29bfaa73b4b563c19be5fa47b938f06a4e0d
Reviewed-on: https://go-review.googlesource.com/18392
Reviewed-by: Robert Griesemer <gri@golang.org>
This commit is contained in:
Robert Griesemer 2016-01-07 16:29:29 -08:00
parent da91609d88
commit dd6e749ee1

View File

@ -12,6 +12,7 @@ import (
"os"
"path/filepath"
"regexp"
"runtime"
"strings"
"testing"
@ -1064,6 +1065,10 @@ var _ = I(C(0)).(J)
}
func TestDiff(t *testing.T) {
if runtime.GOOS == "windows" {
t.Skipf("diff tool non-existent for windows on builders")
}
defer func() {
Diff = false
stdout = os.Stdout