Home | History | Annotate | Download | only in vet

Lines Matching full:actual

87 	// Actual input/output
112 actual := f.b.String()
113 actual = strings.TrimPrefix(actual, "func")
114 actual = id.Name + actual
116 f.Badf(id.Pos(), "method %s should have signature %s", actual, expectFmt)
149 // Does each type in expect with the given prefix match the corresponding type in actual?
150 func (f *File) matchParams(expect []string, actual []ast.Expr, prefix string) bool {
155 if i >= len(actual) {
158 if !f.matchParamType(x, actual[i]) {
162 if prefix == "" && len(actual) > len(expect) {
169 func (f *File) matchParamType(expect string, actual ast.Expr) bool {
180 printer.Fprint(&f.b, f.fset, actual)