Commit 2c6e03f
committed
internal/testenv: allow Apple diff too
On recent versions of MacOS, tests in difftest and rename fail because HasTool doesn't like the default Apple diff. The comment (from 6 years ago) says that diff must support the -u flag, for unified output formatting) and report missing newlines at the end of files. The current Apple diff does this. (I do not know why this does not affect the builders.) Change-Id: I224a224eec1473e2a4bf3c947da77a8b3a623c9a Reviewed-on: https://go-review.googlesource.com/c/tools/+/719920 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Madeline Kalil <mkalil@google.com>1 parent 82112c0 commit 2c6e03f
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
| 134 | + | |
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
138 | 142 | | |
139 | 143 | | |
140 | 144 | | |
| |||
0 commit comments