(t testing.TB, text string, lineOffsets []int32, baseLocation common.Location)
| 452 | } |
| 453 | |
| 454 | func mockRelativeSource(t testing.TB, text string, lineOffsets []int32, baseLocation common.Location) common.Source { |
| 455 | t.Helper() |
| 456 | return &mockSource{ |
| 457 | Source: common.NewTextSource(text), |
| 458 | lineOffsets: lineOffsets, |
| 459 | baseLocation: baseLocation} |
| 460 | } |
| 461 | |
| 462 | type mockSource struct { |
| 463 | common.Source |
no test coverage detected