From 8eccac8f9a8acc5729651ff30619882493d2dd37 Mon Sep 17 00:00:00 2001 From: Alan Donovan Date: Mon, 21 Apr 2014 18:35:16 -0400 Subject: [PATCH] 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 --- refactor/eg/eg_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/refactor/eg/eg_test.go b/refactor/eg/eg_test.go index fa5bcc11..62b22ae6 100644 --- a/refactor/eg/eg_test.go +++ b/refactor/eg/eg_test.go @@ -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