MCPcopy Index your code
hub / github.com/augmentable-dev/tickgit / TestPHPFiles

Function TestPHPFiles

pkg/comments/comments_test.go:51–63  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

49}
50
51func TestPHPFiles(t *testing.T) {
52 var comments Comments
53 err := SearchDir("testdata/php", func(comment *Comment) {
54 comments = append(comments, comment)
55 })
56 if err != nil {
57 t.Fatal(err)
58 }
59
60 if len(comments) != 3 {
61 t.Fail()
62 }
63}
64
65func TestKotlinFiles(t *testing.T) {
66 var comments Comments

Callers

nothing calls this directly

Calls 1

SearchDirFunction · 0.85

Tested by

no test coverage detected