mirror of
https://github.com/golang/go
synced 2024-11-19 01:14:39 -07:00
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 <adonovan@google.com>
This commit is contained in:
parent
8463610142
commit
9b7a39c6be
@ -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]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user