(t testing.TB, text string, lineOffsets []int32, baseLocation common.Location)
| 433 | } |
| 434 | |
| 435 | func mockRelativeSource(t testing.TB, text string, lineOffsets []int32, baseLocation common.Location) common.Source { |
| 436 | t.Helper() |
| 437 | return &mockSource{ |
| 438 | Source: common.NewTextSource(text), |
| 439 | lineOffsets: lineOffsets, |
| 440 | baseLocation: baseLocation} |
| 441 | } |
| 442 | |
| 443 | type mockSource struct { |
| 444 | common.Source |
no test coverage detected