mirror of
https://github.com/golang/go
synced 2024-11-18 18:54:42 -07:00
go/packages/packagestest: fix Expect doc
The type is expect.Note, not expect.Comment. Change-Id: I04338fee3b20a7507bbe2a6a15ea36cf1066fe88 Reviewed-on: https://go-review.googlesource.com/c/154580 Reviewed-by: Ian Cottrell <iancottrell@google.com>
This commit is contained in:
parent
62138107df
commit
c446015edc
@ -45,7 +45,7 @@ const (
|
||||
// When invoking a method the expressions in the parameter list need to be
|
||||
// converted to values to be passed to the method.
|
||||
// There are a very limited set of types the arguments are allowed to be.
|
||||
// expect.Comment : passed the Comment instance being evaluated.
|
||||
// expect.Note : passed the Note instance being evaluated.
|
||||
// string : can be supplied either a string literal or an identifier.
|
||||
// int : can only be supplied an integer literal.
|
||||
// *regexp.Regexp : can only be supplied a regular expression literal
|
||||
|
Loading…
Reference in New Issue
Block a user