From 166a1118e9ee7e51d6e2665484f039c87bc9549b Mon Sep 17 00:00:00 2001 From: Alex Brainman Date: Wed, 29 Jul 2015 17:35:31 +1000 Subject: [PATCH] go/loader: update examples Output Some standard library dependencies have changed (packages and files). Both ExampleConfig_CreateFromFiles and ExampleConfig_Import Output needs to be adjusted. Do that. Update golang/go#11811 Change-Id: I523f2adc1aa46f0932a71ccb23dd7c5a6b07fb27 Reviewed-on: https://go-review.googlesource.com/12832 Reviewed-by: Alan Donovan --- go/loader/example_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/go/loader/example_test.go b/go/loader/example_test.go index 9fb5fdcf..141a7e2b 100644 --- a/go/loader/example_test.go +++ b/go/loader/example_test.go @@ -137,7 +137,7 @@ func ExampleConfig_CreateFromFiles() { // imported: [] // initial: [hello] // all: [errors fmt hello io math os reflect runtime strconv sync sync/atomic syscall time unicode/utf8] - // strconv.Files: [atob.go atof.go atoi.go decimal.go extfloat.go ftoa.go isprint.go itoa.go quote.go] + // strconv.Files: [atob.go atof.go atoi.go decimal.go doc.go extfloat.go ftoa.go isprint.go itoa.go quote.go] } // This example imports three packages, including the tests for one of @@ -164,7 +164,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 math math/rand os reflect runtime runtime/pprof 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 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 fp_test.go ftoa_test.go itoa_test.go quote_example_test.go quote_test.go strconv_test.go] + // 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] + // 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] }