From 1b67ef00784ff962ddc7950677b10cef3a54c6e1 Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Thu, 29 Aug 2013 14:31:39 +1000 Subject: [PATCH] go.tools/oracle: fix build on darwin diff -u3: the 3 is redundant and an error on darwin; redundant and unnecessary on linux. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/13231044 --- oracle/oracle_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oracle/oracle_test.go b/oracle/oracle_test.go index 25f1cd569b..98bd6836e7 100644 --- a/oracle/oracle_test.go +++ b/oracle/oracle_test.go @@ -210,7 +210,7 @@ func TestOracle(t *testing.T) { } // Compare foo.got with foo.golden. - cmd := exec.Command("/usr/bin/diff", "-u3", golden, got) // assumes POSIX + cmd := exec.Command("/usr/bin/diff", "-u", golden, got) // assumes POSIX buf := new(bytes.Buffer) cmd.Stdout = buf if err := cmd.Run(); err != nil {