From 9b7a39c6be22cc4681bc92b0b85a8ea1a7b6fdf1 Mon Sep 17 00:00:00 2001 From: Alan Donovan Date: Mon, 28 Dec 2015 14:06:52 -0500 Subject: [PATCH] go/loader: fix brittle example test We need a better approach for tests such as these. Change-Id: I6fb608acc096088fe377f6f2c40ff6124cf3d09c Reviewed-on: https://go-review.googlesource.com/18194 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 34f000ca..ea718a2f 100644 --- a/go/loader/example_test.go +++ b/go/loader/example_test.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 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] + // 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] // 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] }