mirror of
https://github.com/golang/go.git
synced 2025-05-05 23:53:05 +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"
|
"os"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"regexp"
|
"regexp"
|
||||||
|
"runtime"
|
||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
@ -1064,6 +1065,10 @@ var _ = I(C(0)).(J)
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestDiff(t *testing.T) {
|
func TestDiff(t *testing.T) {
|
||||||
|
if runtime.GOOS == "windows" {
|
||||||
|
t.Skipf("diff tool non-existent for windows on builders")
|
||||||
|
}
|
||||||
|
|
||||||
defer func() {
|
defer func() {
|
||||||
Diff = false
|
Diff = false
|
||||||
stdout = os.Stdout
|
stdout = os.Stdout
|
||||||
|
Loading…
x
Reference in New Issue
Block a user