зеркало из https://github.com/golang/tools.git
go.tools/refactor/eg: avoid nonstandard 'diff -N' option.
(To fix broken Solaris test) LGTM=gri R=gri CC=golang-codereviews https://golang.org/cl/90080044
This commit is contained in:
Родитель
f1247de572
Коммит
8eccac8f9a
|
@ -127,7 +127,7 @@ func Test(t *testing.T) {
|
|||
case "plan9":
|
||||
cmd = exec.Command("/bin/diff", "-c", golden, got)
|
||||
default:
|
||||
cmd = exec.Command("/usr/bin/diff", "-u", "-N", golden, got)
|
||||
cmd = exec.Command("/usr/bin/diff", "-u", golden, got)
|
||||
}
|
||||
buf := new(bytes.Buffer)
|
||||
cmd.Stdout = buf
|
||||
|
|
Загрузка…
Ссылка в новой задаче