MCPcopy Create free account
hub / github.com/github/gh-aw / BenchmarkFindIncludesInContent

Function BenchmarkFindIncludesInContent

pkg/cli/commands_utils_test.go:346–358  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

findIncludesInContentFunction · 0.85

Tested by

no test coverage detected