From d54c98191e65aa751343281b6ea5de0a0a4a3c1c Mon Sep 17 00:00:00 2001 From: Robert Griesemer Date: Wed, 2 Nov 2016 16:14:54 -0700 Subject: [PATCH] go/loader: fix ExampleConfig_Import (fix build) TBR=adonovan Tested against 1.6, 1.7, and 1.8. Change-Id: Ifd8e02a83e7b92c00a746f10475ab725801199e2 Reviewed-on: https://go-review.googlesource.com/32638 Run-TryBot: Robert Griesemer TryBot-Result: Gobot Gobot Reviewed-by: Matthew Dempsky --- go/loader/example_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/go/loader/example_test.go b/go/loader/example_test.go index a5e5cfba786..71f80fd89c8 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.6 +// +build go1.8 // TODO(adonovan) determine which versions we need to test here // +build !windows package loader_test @@ -173,7 +173,7 @@ func ExampleConfig_Import() { // created: [strconv_test] // imported: [errors strconv unicode/utf8] // initial: [errors strconv strconv_test unicode/utf8] - // all: [bufio bytes errors flag fmt internal/race io log math math/rand os reflect runtime runtime/debug runtime/internal/atomic runtime/internal/sys runtime/pprof runtime/trace sort strconv strconv_test strings sync sync/atomic syscall testing text/tabwriter time unicode unicode/utf8 unsafe] + // all: [bufio bytes errors flag fmt internal/race io log math math/rand os reflect runtime runtime/debug runtime/internal/atomic runtime/internal/sys runtime/trace sort strconv strconv_test strings sync sync/atomic syscall testing time unicode unicode/utf8 unsafe] // strconv.Files: [atob.go atof.go atoi.go decimal.go doc.go extfloat.go ftoa.go isprint.go itoa.go quote.go internal_test.go] // strconv_test.Files: [atob_test.go atof_test.go atoi_test.go decimal_test.go example_test.go fp_test.go ftoa_test.go itoa_test.go quote_test.go strconv_test.go] }