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:
parent
184bc0cc8c
commit
9b91992c8c
|
|
@ -46,7 +46,7 @@ func TestLoadFromArgs(t *testing.T) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if got, want := fmt.Sprint(rest), "[surplus]"; got != want {
|
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.
|
// Check list of Created packages.
|
||||||
var pkgnames []string
|
var pkgnames []string
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue