(t testing.TB, text string, lineOffsets []int32, baseLocation common.Location)
| 443 | } |
| 444 | |
| 445 | func mockRelativeSource(t testing.TB, text string, lineOffsets []int32, baseLocation common.Location) common.Source { |
| 446 | t.Helper() |
| 447 | return &mockSource{ |
| 448 | Source: common.NewTextSource(text), |
| 449 | lineOffsets: lineOffsets, |
| 450 | baseLocation: baseLocation} |
| 451 | } |
| 452 | |
| 453 | type mockSource struct { |
| 454 | common.Source |
no test coverage detected