1
0
mirror of https://github.com/golang/go synced 2024-11-18 23:05:06 -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:
Alex Brainman 2014-01-31 17:30:37 +11:00
parent d682175c6e
commit 69f7b061bd

View File

@ -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()