mirror of
https://github.com/golang/go
synced 2024-11-19 01:44:40 -07:00
go.tools/go/ssa: stop if error in TestStdlib
Update golang/go#7189 LGTM=dave R=golang-codereviews, dave CC=golang-codereviews https://golang.org/cl/58910043
This commit is contained in:
parent
d682175c6e
commit
69f7b061bd
@ -54,13 +54,13 @@ func TestStdlib(t *testing.T) {
|
||||
|
||||
var conf loader.Config
|
||||
if _, err := conf.FromArgs(allPackages()); err != nil {
|
||||
t.Errorf("FromArgs failed: %s", err)
|
||||
t.Errorf("FromArgs failed: %v", err)
|
||||
return
|
||||
}
|
||||
|
||||
iprog, err := conf.Load()
|
||||
if err != nil {
|
||||
t.Errorf("Load failed: %s", err)
|
||||
t.Fatalf("Load failed: %v", err)
|
||||
}
|
||||
|
||||
t1 := time.Now()
|
||||
|
Loading…
Reference in New Issue
Block a user