1
0
mirror of https://github.com/golang/go synced 2024-11-18 21:54:49 -07:00

go.tools/go/loader: add missing argument to fmt.Errorf call

R=adonovan
CC=golang-codereviews
https://golang.org/cl/53360043
This commit is contained in:
Robert Griesemer 2014-01-16 13:20:02 -08:00
parent 184bc0cc8c
commit 9b91992c8c

View File

@ -46,7 +46,7 @@ func TestLoadFromArgs(t *testing.T) {
return
}
if got, want := fmt.Sprint(rest), "[surplus]"; got != want {
t.Errorf("loadFromArgs(%q) rest: got %s, want %s", got, want)
t.Errorf("loadFromArgs(%q) rest: got %s, want %s", args, got, want)
}
// Check list of Created packages.
var pkgnames []string