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:
parent
184bc0cc8c
commit
9b91992c8c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user