(offset int32)
| 470 | } |
| 471 | |
| 472 | func (src *mockSource) OffsetLocation(offset int32) (common.Location, bool) { |
| 473 | if offset == 0 { |
| 474 | return src.baseLocation, true |
| 475 | } |
| 476 | return src.Source.OffsetLocation(offset) |
| 477 | } |
| 478 | |
| 479 | func TestSourceInfoRenumberIDs(t *testing.T) { |
| 480 | info := ast.NewSourceInfo(nil) |
nothing calls this directly
no test coverage detected