From 42bc1282f3dad2babdc9a28d8014e394426ea861 Mon Sep 17 00:00:00 2001 From: Alan Donovan Date: Fri, 18 Dec 2015 13:13:44 -0500 Subject: [PATCH] go/loader: update example_test for Go1.6 Change-Id: Ib3bf913e3c8f3cf06ba855f8dda855453e0a1aa2 Reviewed-on: https://go-review.googlesource.com/18048 Reviewed-by: Alan Donovan --- go/loader/example_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/go/loader/example_test.go b/go/loader/example_test.go index ce5afdb9..34f000ca 100644 --- a/go/loader/example_test.go +++ b/go/loader/example_test.go @@ -83,7 +83,7 @@ func ExampleConfig_FromArgs() { // created: [] // imported: [errors runtime unicode/utf8] // initial: [errors runtime unicode/utf8] - // all: [errors runtime unicode/utf8] + // all: [errors runtime runtime/internal/atomic runtime/internal/sys unicode/utf8] } // This example creates and type-checks a single package (without tests) @@ -139,7 +139,7 @@ func ExampleConfig_CreateFromFiles() { // created: [hello] // imported: [] // initial: [hello] - // all: [errors fmt hello io math os reflect runtime strconv sync sync/atomic syscall time unicode/utf8] + // all: [errors fmt hello internal/race io math os reflect runtime runtime/internal/atomic runtime/internal/sys strconv sync sync/atomic syscall time unicode/utf8] // strconv.Files: [atob.go atof.go atoi.go decimal.go doc.go extfloat.go ftoa.go isprint.go itoa.go quote.go] } @@ -167,7 +167,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 io log math math/rand os reflect runtime runtime/pprof runtime/trace sort strconv strconv_test strings sync sync/atomic syscall testing text/tabwriter time unicode unicode/utf8] + // all: [bufio bytes errors flag fmt internal/race io log math math/rand os reflect runtime 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] // 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] }