(b *testing.B)
| 344 | } |
| 345 | |
| 346 | func BenchmarkFindIncludesInContent(b *testing.B) { |
| 347 | content := `This is content with includes: |
| 348 | @include shared/tools.md |
| 349 | Some content between includes. |
| 350 | @include shared/config.md |
| 351 | More content here. |
| 352 | @include another/file.md |
| 353 | Final content.` |
| 354 | |
| 355 | for b.Loop() { |
| 356 | _, _ = findIncludesInContent(content) |
| 357 | } |
| 358 | } |
| 359 | |
| 360 | func TestIsRunnable(t *testing.T) { |
| 361 | tests := []struct { |
nothing calls this directly
no test coverage detected