summaryrefslogtreecommitdiffstats
path: root/llgo/third_party/gotools/go/pointer/stdlib_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'llgo/third_party/gotools/go/pointer/stdlib_test.go')
-rw-r--r--llgo/third_party/gotools/go/pointer/stdlib_test.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/llgo/third_party/gotools/go/pointer/stdlib_test.go b/llgo/third_party/gotools/go/pointer/stdlib_test.go
index b9412a34bff..9d479aa1217 100644
--- a/llgo/third_party/gotools/go/pointer/stdlib_test.go
+++ b/llgo/third_party/gotools/go/pointer/stdlib_test.go
@@ -35,10 +35,7 @@ func TestStdlib(t *testing.T) {
// Load, parse and type-check the program.
ctxt := build.Default // copy
ctxt.GOPATH = "" // disable GOPATH
- conf := loader.Config{
- SourceImports: true,
- Build: &ctxt,
- }
+ conf := loader.Config{Build: &ctxt}
if _, err := conf.FromArgs(buildutil.AllPackages(conf.Build), true); err != nil {
t.Errorf("FromArgs failed: %v", err)
return
OpenPOWER on IntegriCloud