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
1 changed files with 1 additions and 1 deletions

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