(got, want exprForm)
| 461 | } |
| 462 | |
| 463 | func sameExprForm(got, want exprForm) bool { |
| 464 | if got.root != nil && want.root != nil { |
| 465 | return got.root == want.root && got.suffix == want.suffix |
| 466 | } |
| 467 | return got.text == want.text |
| 468 | } |
| 469 | |
| 470 | func sameExprFormWithSuffix(got, base exprForm, suffix string) bool { |
| 471 | if got.root != nil && base.root != nil { |
no outgoing calls
no test coverage detected