summaryrefslogtreecommitdiffstats
path: root/llgo/third_party/gotools/go/loader/stdlib_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'llgo/third_party/gotools/go/loader/stdlib_test.go')
-rw-r--r--llgo/third_party/gotools/go/loader/stdlib_test.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/llgo/third_party/gotools/go/loader/stdlib_test.go b/llgo/third_party/gotools/go/loader/stdlib_test.go
index 3c59c5a5da2..0af2a69d809 100644
--- a/llgo/third_party/gotools/go/loader/stdlib_test.go
+++ b/llgo/third_party/gotools/go/loader/stdlib_test.go
@@ -40,9 +40,7 @@ func TestStdlib(t *testing.T) {
ctxt.GOPATH = "" // disable GOPATH
conf := loader.Config{Build: &ctxt}
for _, path := range buildutil.AllPackages(conf.Build) {
- if err := conf.ImportWithTests(path); err != nil {
- t.Error(err)
- }
+ conf.ImportWithTests(path)
}
prog, err := conf.Load()
OpenPOWER on IntegriCloud