From f84eaba4be9c31b348df3436ab629c641aa9177b Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 17 Feb 2017 10:35:41 -0800 Subject: [PATCH] go/loader: only run examples on 1.8 Tip introduces a new internal/poll package that breaks the expected output. Fixes golang/go#19150 Updates golang/go#19152 Change-Id: I5ff7e8a92afe4d25feb6365933062e931c9b435f Reviewed-on: https://go-review.googlesource.com/37148 Reviewed-by: Brad Fitzpatrick Reviewed-by: Alan Donovan --- go/loader/example_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/loader/example_test.go b/go/loader/example_test.go index 71f80fd89c8..88adde3cce8 100644 --- a/go/loader/example_test.go +++ b/go/loader/example_test.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build go1.8 // TODO(adonovan) determine which versions we need to test here +// +build go1.8,!go1.9 // TODO(adonovan) determine which versions we need to test here // +build !windows package loader_test