(t *testing.T, attrs *NamedAttributeExpr)
| 209 | } |
| 210 | |
| 211 | func withResult(t *testing.T, attrs *NamedAttributeExpr) func(*MethodExpr) { |
| 212 | t.Helper() |
| 213 | return func(m *MethodExpr) { |
| 214 | m.Result = &AttributeExpr{Type: &Object{attrs}} |
| 215 | } |
| 216 | } |
| 217 | |
| 218 | func namedAttr(t *testing.T, name string) *NamedAttributeExpr { |
| 219 | t.Helper() |
no outgoing calls
no test coverage detected