Message:
Hello golang-dev@googlegroups.com,
I'd like you to review this change to
https://code.google.com/p/go.tools
Description:
go.tools/oracle: fix build on darwin
diff -u3: the 3 is redundant and an error on darwin; redundant and
unnecessary on linux.
Please review this at https://codereview.appspot.com/13231044/
Affected files:
M oracle/oracle_test.go
Index: oracle/oracle_test.go
===================================================================
--- a/oracle/oracle_test.go
+++ b/oracle/oracle_test.go
@@ -210,7 +210,7 @@
}
// 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 {
--
---
You received this message because you are subscribed to the Google Groups "golang-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.