aboutsummaryrefslogtreecommitdiff
path: root/internal/lsp
diff options
context:
space:
mode:
authorRob Findley <rfindley@google.com>2020-04-13 18:58:59 -0400
committerRobert Findley <rfindley@google.com>2020-04-14 02:36:50 +0000
commita4a177c7d71c9b065c03a87596aed1deb27585de (patch)
tree84a304fc4037b0b8747464612737c002c5277d38 /internal/lsp
parentae52e4b557894b10995baa241def6eb4a9d49712 (diff)
downloadgolang-x-tools-a4a177c7d71c9b065c03a87596aed1deb27585de.tar.gz
internal/lsp/diff/difftest: ignore for GOOS=illumos
illumos has a different copy of the `diff` executable, causing this test to fail. Ignore it for this GOOS. Updates golang/go#38414 Change-Id: I45ec5fcd9fd332977349bb6ba33d9ed09417a023 Reviewed-on: https://go-review.googlesource.com/c/tools/+/228199 Run-TryBot: Robert Findley <rfindley@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rebecca Stambler <rstambler@golang.org>
Diffstat (limited to 'internal/lsp')
-rw-r--r--internal/lsp/diff/difftest/difftest_test.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/lsp/diff/difftest/difftest_test.go b/internal/lsp/diff/difftest/difftest_test.go
index f87354366..21d9cd13b 100644
--- a/internal/lsp/diff/difftest/difftest_test.go
+++ b/internal/lsp/diff/difftest/difftest_test.go
@@ -2,6 +2,10 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+// As of writing illumos uses a version of diff for which `diff -u` reports
+// locations differently from GNU diff.
+// +build !illumos
+
// Package difftest supplies a set of tests that will operate on any
// implementation of a diff algorithm as exposed by
// "golang.org/x/tools/internal/lsp/diff"