mirror of
https://github.com/golang/go.git
synced 2025-05-05 15:43:04 +00:00
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:
parent
da91609d88
commit
dd6e749ee1
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user